problem:How to run a java program in ubuntu? Solution: Open JDK is the best.It's simple and i never got any problem with this. Steps: 1. Install open jdk using terminal sudo apt-get install openjdk-7-jdk 2. now write your program and save it as filename.java 3. for compilation : javac filename.java 4. for run there are two cases: case 1. if your class containing main() method is public then java filename case 2. if your class containing main() method is not public then java classname
Translate
Saturday 6 February 2016
HOW TO RUN A JAVA PROGRAM IN UBUNTU
Subscribe to:
Post Comments (Atom)
-
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 ...
-
HII guys this is totally geometry based problem there is nothing to code just use formula LOGIC::how to find centroid of a polygon u c...
No comments:
Post a Comment