LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java and Linux Slackware (http://www.linuxquestions.org/questions/linux-newbie-8/java-and-linux-slackware-57494/)

Juan Araya 04-30-2003 02:11 PM

Java and Linux Slackware
 
Hi

How can I compile and execute and Java application, for example file.java in Linux Slackware?

NOTE: file.java is an application not an applet.

Thanks in advanced,

Juan Araya
josorio1@hotmail.com

Hangdog42 04-30-2003 03:11 PM

If you already have Java installed then the command is javac file.java to compile it and java file.class to run it.

If you haven't installed java, go to java.sun.com, download the Linux install, install it and then add the java/bin directory to your PATH.


All times are GMT -5. The time now is 02:05 AM.