web-dev-qa-db-fra.com

comment installer netbeans de umake?

Comment installer les netbeans à partir de umake?

thufir@dur:~$ 
thufir@dur:~$ umake ide netbeans
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
thufir@dur:~$   

Information système:

    thufir@dur:~$ 
    thufir@dur:~$ netbeans

    Command 'netbeans' not found, but can be installed with:

    Sudo apt install netbeans

    thufir@dur:~$ 
    thufir@dur:~$ snap info ubuntu-make
    name:      ubuntu-make
    summary:   Setup your development environment on ubuntu easily
    publisher: didrocks
    license:   unknown
    description: |
      Ubuntu Make provides a set of functionality to setup,
      maintain and personalize your developer environment easily. It will handle
      all dependencies, even those which aren't in Ubuntu itself, and install
      latest versions of the desired and recommended tools.
      .
      This is the latest master from ubuntu make, freshly built from
      https://github.com/ubuntu/ubuntu-make. It may contain even unreleased
      features!
    commands:
      - ubuntu-make.umake
    snap-id:   GFBbjr1cRDoT3KSiuwGirj83ReKSSd1J
    tracking:  stable
    refreshed: 2018-05-22T02:03:51-07:00
    installed:   master (367) 13MB classic
    channels:                 
      stable:    master (367) 13MB classic
      candidate: ↑                 
      beta:      ↑                 
      Edge:      master (363) 13MB classic
    thufir@dur:~$ 
    thufir@dur:~$ sdk ls Java

    ================================================================================
    Available Java Versions
    ================================================================================
         9.0.7-zulu                                                                    
         9.0.4-openjdk                                                                 
     > * 8.0.172-zulu                                                                  
         8.0.171-Oracle                                                                
         7.0.181-zulu                                                                  
         6.0.107-zulu                                                                  
         10.0.1-zulu                                                                   
         10.0.1-Oracle                                                                 
         10.0.0-openjdk                                                                
         1.0.0-rc1-graal                                                               






    ================================================================================
    + - local version
    * - installed
    > - currently in use
    ================================================================================
    thufir@dur:~$ 
    thufir@dur:~$ Java -version
    openjdk version "1.8.0_172"
    OpenJDK Runtime Environment (Zulu 8.30.0.1-linux64) (build 1.8.0_172-b01)
    OpenJDK 64-Bit Server VM (Zulu 8.30.0.1-linux64) (build 25.172-b01, mixed mode)
    thufir@dur:~$ 
    thufir@dur:~$ javac -version
    javac 1.8.0_172
    thufir@dur:~$ 
thufir@dur:~$ 
thufir@dur:~$ umake ide netbeans
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
thufir@dur:~$ 
thufir@dur:~$ netbeans

Command 'netbeans' not found, but can be installed with:

Sudo apt install netbeans

thufir@dur:~$ 
thufir@dur:~$ snap info ubuntu-make
name:      ubuntu-make
summary:   Setup your development environment on ubuntu easily
publisher: didrocks
license:   unknown
description: |
  Ubuntu Make provides a set of functionality to setup,
  maintain and personalize your developer environment easily. It will handle
  all dependencies, even those which aren't in Ubuntu itself, and install
  latest versions of the desired and recommended tools.
  .
  This is the latest master from ubuntu make, freshly built from
  https://github.com/ubuntu/ubuntu-make. It may contain even unreleased
  features!
commands:
  - ubuntu-make.umake
snap-id:   GFBbjr1cRDoT3KSiuwGirj83ReKSSd1J
tracking:  stable
refreshed: 2018-05-22T02:03:51-07:00
installed:   master (367) 13MB classic
channels:                 
  stable:    master (367) 13MB classic
  candidate: ↑                 
  beta:      ↑                 
  Edge:      master (363) 13MB classic
thufir@dur:~$ 
thufir@dur:~$ sdk ls Java

================================================================================
Available Java Versions
================================================================================
     9.0.7-zulu                                                                    
     9.0.4-openjdk                                                                 
 > * 8.0.172-zulu                                                                  
     8.0.171-Oracle                                                                
     7.0.181-zulu                                                                  
     6.0.107-zulu                                                                  
     10.0.1-zulu                                                                   
     10.0.1-Oracle                                                                 
     10.0.0-openjdk                                                                
     1.0.0-rc1-graal                                                               






================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
thufir@dur:~$ 
thufir@dur:~$ Java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
thufir@dur:~$ 
thufir@dur:~$ Java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment (Zulu 8.30.0.1-linux64) (build 1.8.0_172-b01)
OpenJDK 64-Bit Server VM (Zulu 8.30.0.1-linux64) (build 25.172-b01, mixed mode)
thufir@dur:~$ 
thufir@dur:~$ Sudo update-alternatives --verbose --config Java
update-alternatives: error: no alternatives for Java
thufir@dur:~$ 
thufir@dur:~$ umake --version
18.05+snap367
thufir@dur:~$ 
thufir@dur:~$ javac -version
javac 1.8.0_172
thufir@dur:~$ 
1
Thufir

Je peux confirmer vos résultats avec la version instantanée d'Ubuntu, alors supprimons-la

Sudo snap remove ubuntu-make

Et puis installez la version du référentiel

Sudo apt-get install ubuntu-make

Puis installez NetBeans IDE avec la commande umake:

umake ide netbeans

Puis déconnectez-vous ou redémarrez.
Vous pouvez trouver NetBeans dans Applications-> Programmation-> IDE Netbeans ou l'exécuter avec la commande netbeans.

1
N0rbert