View Full Version : [SOLVED] java programming?
aszxcv
November 19th, 2008, 08:12 AM
i use sudo apt-get install sun-java6-jdk netbeans
to download netbeans and jvm and java sdk my question i just print a basic hello world in netbeans without seting any java path to sdk bin like you have to on a windows pc
does netbeans on linux automatically detect java jdk
leg
November 19th, 2008, 09:01 AM
Netbeans looks for the jdk when it is installed (even on windows) so it keeps a path to it when for when you compile.
aszxcv
November 19th, 2008, 09:12 AM
so regardless if the path is set or not it finds the jdk
so setting the path to bin is really helpful for dos/command line program
leg
November 19th, 2008, 09:16 AM
From within NetBeans yes I believe that it does. It has been a while since I used it though.
drubin
November 19th, 2008, 05:44 PM
i use sudo apt-get install sun-java6-jdk netbeans
to download netbeans and jvm and java sdk my question i just print a basic hello world in netbeans without seting any java path to sdk bin like you have to on a windows pc
does netbeans on linux automatically detect java jdk
Netbeans looks for the jdk when it is installed (even on windows) so it keeps a path to it when for when you compile.
Netbeans is written in Java. So at least the JRE must be present in order for even netbeans to run.
But you can go to preferences and manually set it.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.