This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / Help. .JAR can't run. When I click the file.jar, the harddisk will run for a while. Then, nothing happend. I click the JAVAW.exe in the \JAVA1.2.2\BIN, it's the same. Nothing will happen except the harddisk running.It's Win98 and jdk1.2.2_006. Others are all ok. I uninstalled the jdk first then reinstall the jdk for several times, the problem is still there.
-howru(How are you?);
2000-12-4
{146}
(#17087@0)
-
Java is not VBYou cannot run a Java programm by clicking....
If a Jar file contains an entry point main() function, you may run it as
java -jar abc.jar
-jabber(jabber);
2000-12-4
{146}
(#17090@0)
-
In addition, "javaw.exe" is roughly speaking equivalent to "start java.exe". See the insidejavaw.exe is used to run a Java server progress. If you run Java Web Server, you will see javaw.exe in Task Manager|Process.
You happened to click javaw.exe and I think this is what you meat by "harddisk running".
If you needs to run RMI service, you can either use javaw.exe or start java.exe.
Cay Horstmann argued that "start java.exe" is preferrable because one can kill the Java procecs using Control-C conveniently.
-jabber(jabber);
2000-12-5
{434}
(#17192@0)
-
Dear Jabber, .JAR is "Executable Jar file" in Windows98 which means it can run directly. I checked the "open with" again, it's "Open with Javaw". Maybe something wrong with the connection?
-howru(How are you?);
2000-12-5
{879}
(#17202@0)
-
Something about Jar files
-jabber(jabber);
2000-12-5
{1025}
(#17206@0)
-
in you file explore /Tools /Foder Options /File Types , edit Executable Jar Filewhat action will be do compeletely decided by you, note the parameter , generally ,if no paramter (%1) ,when you double click the file , there is no means let your action connected with the concrete jar instance.
-guest:guest;
2000-12-6
{212}
(#17348@0)
-
Desirable to use on-line command and scripts
-jabber(jabber);
2000-12-6
{1046}
(#17357@0)