You should run
java Clock2
(without the class extension), i.e java class_name
--
Regards,
Anthony G. Starovojtov,
System Administrator of IMS Department,
Kharkov State Technical University of Radioelectronics,
pr. Lenina,14, room 254, Kharkov, 61726, Ukraine
Phone +380 572 409451 (Work), +380 572
Does not put .class at the end of your line of command for execution.
So, to run your program, do simple:
java Clock2
this will work fine.
--
From: Zhang Yuyong
Sent: terça-feira, 28 de dezembro de 1999 23:14
To: [EMAIL PROTECTED]
Subject:jdk118 under Redhat6.0
<&
three thoughts leap to mind immediately:
1. rtfm, rtfla
2. stop sending in x-html
3. the java interpreter expects a class name, not a file name.
thus the invocation is 'java Clock2' not 'java Clock2.class'
which is trying to run a class called "class" in a package
called "Clock2".
fe
Title: jdk118 under Redhat6.0
hi everyone:
i used jdk118(glibc version) on redhat6.0, and i have already set my JAVA_HOME envoirment variable to "/opt/jdk118_v1" , and CLASSPATH is "/opt/jdk118_v1/lib/classes.zip:." .
in the directory /opt/jdk118_v1/demo/Clock, i can
Title: jdk118 under Redhat6.0
hi everyone:
i used jdk118(glibc version) on redhat6.0, and i have already set my JAVA_HOME envoirment variable to "/opt/jdk118_v1" , and CLASSPATH is "/opt/jdk118_v1/lib/classes.zip:." .
in the directory /opt/jdk118_v1/demo/Clock, i can