Tag Info

New answers tagged

0

If you have multiple java versions installed on your Ubuntu machine run the following to choose the one you want as default: $ sudo update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ...


0

I think this is the best way... java7 doesn't have javafx and scene builder for it, so i suggest for you to install java 8 witch it does. Add this lines in your /etc/apt/sources.list deb http://ppa.launchpad.net/webupd8team/java/ubuntu utopic main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu utopic main Execute this in your terminal: apt-get ...


-1

The following might work, it would delete any partials: sudo rm /var/cache/oracle-jdk8-installer/jdk-* Then finish the install with: sudo apt-get install -f sudo dpkg --configure -a


0

I was getting the same error, and found that I did not have the java compiler installed. Try javac -version and see if you have it installed. If not, sudo apt-get install openjdk-7-jdk and hopefully that will fix your problem. EDIT I see now after rereading that you have already installed the jvm once, but I had it installed as well, so I'm not sure if ...


0

To find the variable which sets the JDK home for Netbeans you need to open the config file which sets it (replace <versionNumber> with the version number of your NetBeans, such as 8.0.2 and make sure that you are in the directory which the NetBeans folder is in, this will most likely be your home directory, to cd to that do: cd ~): gedit ...


1

I've solved this problem with these commands sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default and export JAVA_HOME=/usr/lib/jvm/default-java


1

That may be an OpenJDK issue. Sometimes the Oracle JDK is required in order to get something to work. Generally the JDKs are downwards compatible, you could as well use version 8. Here is a tutorial how to install it: http://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html If you already installed (read: put it somewhere on your ...



Top 50 recent answers are included