View Full Version : Projectx 0.81.9.00 problem
Renzz
14th November 2004, 12:52
I've just downloaded the new version of ProjectX from Doom9, but I can't get it to work on Windows. When I run the Projectx.jar file, I get
"Could not find the main class. Program will exit"
Not knowing anything about Java, can someone tell me if I'm doing something wrong.
Thanks
buzzqw
14th November 2004, 16:33
i have downloaded the same build from http://www.oozoon.de/
and it's fully fuctional
try this site
BHH
run2000
15th November 2004, 11:37
It sounds like you hit the same problem I did. The new version was compiled with Java 1.5, and the class format is not compatible with earlier JREs. There are two ways to get around it:
1. Install the Java 1.5 JRE (also known as Java 5.0), download it from the java.sun.com (http://java.sun.com/j2se/1.5.0/download.jsp) site.
or
2. If you have an earlier version of the JDK installed, you can edit the build.bat file supplied to point to your JDK installation, and run the batch file to rebuild the ProjectX.jar file. The source itself is backward compatible back to Java 1.2, so there's no reason why it couldn't (or shouldn't) have been compiled with an earlier release :angry:
Renzz
15th November 2004, 11:53
Thanks guys, both these worked. I guess it's better to have the latest version of JRE for future versions anyway.
allanw
18th February 2008, 01:42
I used to run ProjectX on XP by double-clicking a link to the ProjectX.jar file but on Vista I got the "Could not find the main class. Program will exit" message.
After a lot of searching (got me here) and a bit of luck, found that if I run it via "cmd /K java -jar projectx.jar" (spaces probably matter) it works as expected. I put this in a .bat file in the projectx.jar folder and made a link to it for convenience.
Hope this might help someone sometime.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.