PDA

View Full Version : [ubuntu] Java Programming in Ubuntu



sundarrajan
February 21st, 2009, 05:23 PM
I have succesfully installed Java in my ubuntu!

I have typed a sample program but i dont know how to compile a java program!

javac command is not working !

Help me how to compile a java program and execute java classes in Ubuntu!

taurus
February 21st, 2009, 05:47 PM
Which version did you install: jre or jdk? To compile java apps, you need the jdk version.

superprash2003
February 21st, 2009, 07:24 PM
usually you type javac filename.java to compile and java filename to run.. thats after you've installed sun-java

txcrackers
February 21st, 2009, 08:05 PM
http://java.sun.com/docs/books/tutorial/index.html