|
|
Author |
Message |
Weatherwax
Joined: 21 Mar 2007 Posts: 3
|
Posted: Wed Mar 21, 2007 8:51 am Post subject: Could not find the main class. Program will exit. |
|
|
I am getting the above message on both my work and home computers. I have obviously messed up somewhere. Could anybody tell me where please? |
|
Back to top |
|
 |
Lokorin Site Admin
Joined: 03 Apr 2006 Posts: 697
|
Posted: Wed Mar 21, 2007 8:20 pm Post subject: |
|
|
I need some more details:
- What operating system are you using?
- When and how does the error message appear? E.g. does is it in a dialog box that appears after double click the icon to start the program?
- Have you ever successfully run any other program that uses Java 1.5?
- Does any error log appear? And if so what does it say?
|
|
Back to top |
|
 |
Weatherwax
Joined: 21 Mar 2007 Posts: 3
|
Posted: Thu Mar 22, 2007 8:26 am Post subject: |
|
|
At home I am using XP pro SP2 though probably not fully patched, it is a fairly old machine. I have downloaded the latest java from sun. At work I am using windows 2000.
I have another, brand new, PC at home that uses XP media edition and this seems to run it with no problems.
The message appears in a pop up box labeled "Java Virtual Machine Launcher" as sson as the exe file is double clicked.
I would have no idea if I have run any other java programs.
Where would I look for an error log? There is none in the folder with the executable. I haven't looked through all the system folders but I wouldn't know what to to look for .
Thanks for replying. |
|
Back to top |
|
 |
Kolkas
Joined: 13 Apr 2006 Posts: 39
|
Posted: Fri Mar 23, 2007 10:35 am Post subject: |
|
|
I had a similar problem on my previous machine and had to start DKPLP with a batch file containing:
javaw -jar dkp-log-parser.jar
directly from the folder where it was installed.
Don't know if it can help in any way, but it was something related to the JVM installation or a conflict between JVMs, but I wasn't able to solve through reinstalling or in any other way... so I worked around that way...
Maybe this thread could help, too.
Bye, Kol. |
|
Back to top |
|
 |
Weatherwax
Joined: 21 Mar 2007 Posts: 3
|
Posted: Fri Mar 30, 2007 12:07 pm Post subject: |
|
|
Thanks for the help it was an old version of java lying around. |
|
Back to top |
|
 |
|