Is Java working?
 Verify that your installation of Java was successful by compiling the following Java example. Create a file, , containing the following: public class HelloWorld {
public static void main ( String[] args) {
System.out.println( "Hello World!");
}
}
| 2. | Run a DOS prompt. Change directories to . |
| 3. | You can then compile and run it as follows. |
C:\> javac HelloWorld.java
C:\> java HelloWorld
Hello World!
C:\>
If you do not see the line “Hello World!”, or see messages then something is wrong with your installation. Please refer to Sun's website for assistance. The Java Tutorial might prove quite useful in troubleshooting any of these problems. Download this FAQ as a Mathematica 5.2 Notebook
Questions or comments? Send email to support@wolfram.com.
|