JiafanZhou
版主
发贴: 736
积分: 61
|
于 2008-08-15 23:03
There are some points I have overlooked about this topic. 1. java_home must be defined JAVA_HOME as all capital letters in your System Envrionment. 2. It is unnecessary and wrong to define classpath as the System Environment (S.E) unless your project relies this S.E. in the code 3. In JCreator, the classpath is defined as following by default: "Configure -- > Option -- > JDK profiles --- > Edit" This is where you want to include other jars into the project. 4. Never ever define classpath in S.E. it will cause some unexpected results. 5. jancyu2008's suggestion is noteworthy in terms of Applet is compiled and run in a different way from a standalone Java program.
Regards, Jiafan
When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
|