To find out what JVM version you use, go to the JVM folder by typing in terminal: cd /usr/lib/jvmĪnd see what name is folder that contains JVM. It looks like #netbeans_jdkhome="/usr/lib/jvm/java-8-openjdk-amd64/".Ĭhange the local according to your JVM version. Third: Edit the line wich corresponds to your JVM (Java Virtual Machine) folder. Second: open nf file as superuser (sudo): sudo gedit nf It means the nf file (located in two places) was not set up correctly.To solve this you might do: The thing is I need the full version from the website, because I'm working with HTML5, CSS, J2EE and GlassFish server support. When I install netbeans from the shell ( sudo apt-get install netbeans) everything works just fine. Now, all this only happens with the version I download from the website. I get an error message saying netbeans is not installed. I also tried to run the command netbeans -jdkhome /usr/lib/jvm/java-8-oracle, unsuccessfully. I get the correct output when I run both java -version and javac -version * 1 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 manual mode I also ran sudo update-alternatives -config java, which outputs 0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 auto mode I downloaded netbeans 8.1 from (full version), installed it but when it comes to enabling the java modules it fails, showing me a list of all the modules netbeans can't enable. I added the webupd8team/java repository and installed oracle-java8-installer and oracle-java8-set-default. I know this question has already been posted, but the solutions provided don't work for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |