LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java (https://www.linuxquestions.org/questions/linux-newbie-8/java-104979/)

Thaith 10-16-2003 11:39 PM

Java
 
I don't know how to program Java in Linux. Can you show me ? :">

rakriege 10-16-2003 11:47 PM

you got about a year???

Thaith 10-17-2003 01:26 AM

no, :"> , I mean I know how to program in Java, of course. But do it in Linux is a different way, because I am new to Linux ^_^

k.van.hagen 10-17-2003 07:08 AM

It's not realy different.
Install the sdk from http://java.sun.com

update your path variable in /etc/profile to point to the java bin-dir as well

Maybe install the NetBeansIDE from http://www.netbeans.org

off you go..

jdruin 10-17-2003 07:20 AM

http://java.sun.com/webapps/download...-bin-linux.bin

http://java.sun.com/webapps/download/DisplayLinks

http://java.sun.com/j2se/1.4.2/download.html

If you follow one of the links above, you can download NetBeans IDE and the SDK along with the VM. Setting up is the same as windows but the paths are different of course. If you cannot find the java or javac after you install, then do a

find / -name javac

and make a note of the path. Then you can go to

/etc/profile

and add the compiler and VM to your regular search path. In windows this is the same as changing your PATH variable. The java web site has very good step by step installation instructions if you need help installing.


All times are GMT -5. The time now is 12:45 AM.