Topic: Run and Compile Java Program
Answers to Common Questions
How to Compile a Java Program
There are two parts to the Java platform, the Java application programming interface, or API, and the Java virtual machine, or JVM. An API is a preset amount of code that can be called from within a program. This saves the programmer progra... Read More »
Source: http://www.ehow.com/how_4812977_compile-java-program.html
How can you compile or run the java programming?
To compile: javac MyProgram.java To run: java MyProgram However, you can also do everything (both compile and run) from within an IDE. Read More »
Source: http://wiki.answers.com/Q/How_can_you_compile_or_run_the_java_pro...
How can you compile or run the JavaScript programming?
JavaScript programs cannot be compiled, but it is easy to run them if you embed them into a html file, and open it in your browser. Note: If you want a example, select menu-command View/Source and search for '<script' Read More »
Source: http://wiki.answers.com/Q/How_can_you_compile_or_run_the_JavaScri...
Answers to Other Common Questions
For Windows and Dos Frist Install Java Development Kit JDK in C:\ drive Second Set path by giving folloing command path = %path%;c:\jdk1.3\bin;c:\jdk1.3\lib with your proper version of JDK(i.e. jdk1.2.2 or jdk1.2 etc). Third Write simple pr... Read More »
Source: http://wiki.answers.com/Q/What_are_the_steps_to_compile_a_java_pr...
u need not always type the entire path. you should do the following. for eg. if jdk is installed in the directory /usr/jdk1.3 open the .profile file present in your home directory. if there is a line starting with '$PATH' then add the above... Read More »
Source: http://www.experts-exchange.com/Q_20283303.htm
To run Java programs, or scripts, in Ubuntu and other Linux distributions, you must first have a Java runtime environment installed. There are open-source Java packages available, but since the Sun Java package is available from the "Univer... Read More »
Source: http://www.ehow.com/how_5919277_run-java-program-script-ubuntu.ht...
to compile javac AppName.java to run the program java AppName Read More »
Source: http://answers.yahoo.com/question/index?qid=20100705065532AAd00ij
java programs are compliled with the help of javac Read More »
Source: http://wiki.answers.com/Q/How_do_you_compile_program_in_java
Java program is basically compiled to change it to byte code. This byte code is necessary for jvm to produce platform independency. Of course u can directly write a byte code and need not to compile it, but that would be tedious job and als... Read More »
Source: http://wiki.answers.com/Q/Why_do_you_compile_a_java_prog
Because the source programs just do not run. Full stop. You have to 1) compile them to an executable (C) 2) use a program that interprets them (script languages, eg. sh, perl, php) 3) mix the two: half-compile them into something that can b... Read More »
Source: http://wiki.answers.com/Q/Why_the_programs_of_C_and_java_are_comp...
Want A Personal Answer?
737,920 people are answering.
About - Privacy - AskEraser - Advertise - Careers - Ask Blog - iPhone - Android - Help - Feedback ©2012 Ask.com