how to work with java programs in linux ?
how to work with java programs in linux redhat?
|
Case 1: writing and compiling Java codes
write a Hello World code save it as .java go to the terminal, then go the directory where you saved your code. type javac <filename>.java all set to go. Case II: running .jar files java -jar <filename> |
mhawk, are you developing programs, or just running a java application?
ashwinipatankar gave some good tips for either case, but you also need to verify that java is installed on your machine. you can check just by typing on the command line: Code:
java -version You can also try out openJDK, which should also be available via your package manager. |
also if your looking for an editor program theres eclipse
|
All times are GMT -5. The time now is 07:43 AM. |