Hi,
I've installed jdk1.1.6 on RHL5.1 ,Iam able to create and run
applets but when i try to compile and run a standlalone
application program i get the following errors
class hello{
public static void main(String args[])
{
System.out.println("HELLO");
}
}
ERROR SHOWN
[syed@barfi syed]$ javac hello.java
[syed@barfi syed]$ java hello
Can't find class hello
iam sure java file exists in
./JDK1.6/jdk1.1.6/bin/i586/green_threads/java
I have set the following classpath
JAVA_HOME="/home/syed/JDK1.6/jdk1.1.6"
export JAVA_HOME
export DISPLAY=:0
PATH="/home/syed/JDK1.6/jdk1.1.6/bin:$PATH"
SWING_HOME="/home/syed/SWING13/swing-1.0.3"
export SWING_HOME
CLASSPATH=/home/syed/SWING13/swing-1.0.3/swingall.jar
export CLASSPATH
Kindly help to fix the problem.
Bye
Syed
______________________________________________________________________________
Syed Mubeen Tata Institute of Fundamental Research,
[EMAIL PROTECTED] P.B #1234,
80-334-5615 or 4062 or 3035 IISc Campus,
Resi :3452848 Bangalore - 560 012. INDIA.
_______________________________________________________________________________