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)
-
HII this is geometry based problem u can use simple formula to solve this here is my ac c++ soluiton is 1 2 3 4 5 6 7 8 9 1...
No comments:
Post a Comment