CPCWiki forum

General Category => Emulators => Topic started by: Travis P on 13:56, 26 March 10

Title: JavaCPC Error
Post by: Travis P on 13:56, 26 March 10
I am having problems starting the JavaCPC on my laptop and on the main PC, both are working under XP. The error message is "The JVM could not be started. The main method may have thrown an exception"

Does anybody know how to remove the error and get it working?
Title: Re: JavaCPC Error
Post by: Devilmarkus on 13:59, 26 March 10
Quote from: Travis P on 13:56, 26 March 10
I am having problems starting the JavaCPC on my laptop and on the main PC, both are working under XP. The error message is "The JVM could not be started. The main method may have thrown an exception"

Does anybody know how to remove the error and get it working?

Which version did you use?
Title: Re: JavaCPC Error
Post by: Travis P on 14:19, 26 March 10
Java = The lastest version 6
JavaCPC = 6.7 Win32
Title: Re: JavaCPC Error
Post by: Devilmarkus on 14:27, 26 March 10
It should work....
Please send me a detailled screenshot to devilmarkus-[-at-]-cpcwiki.eu
Title: Re: JavaCPC Error
Post by: CPCIak on 13:29, 16 April 10
Quote from: Travis P on 13:56, 26 March 10
I am having problems starting the JavaCPC on my laptop and on the main PC, both are working under XP. The error message is "The JVM could not be started. The main method may have thrown an exception"

Does anybody know how to remove the error and get it working?

Me, too!

Java Runtime 6 Update 20
Title: Re: JavaCPC Error
Post by: Devilmarkus on 13:32, 16 April 10
Quote from: CPCIak on 13:29, 16 April 10
Me, too!

Java Runtime 6 Update 20

Sent you a PM with new download link.
Please check it and report if it works now
Title: Re: JavaCPC Error
Post by: CPCIak on 13:36, 16 April 10
Thanx DevilMarkus

The .exe file doesn't work at all
The .jar   file works fine
Title: Re: JavaCPC Error
Post by: Devilmarkus on 13:41, 16 April 10
The .jar will not work fine...
Perhaps it opens and starts but you will not have much fun with it (EXE increases available memory)
Try again the EXE please. Or isnt there also a .jnlp file? if yes, start the .jnlp
Title: Re: JavaCPC Error
Post by: Devilmarkus on 13:45, 16 April 10
Quote from: Devilmarkus on 13:41, 16 April 10
The .jar will not work fine...
Perhaps it opens and starts but you will not have much fun with it (EXE increases available memory)
Try again the EXE please. Or isnt there also a .jnlp file? if yes, start the .jnlp

Try to launch the .jar with following parameters:
-Xms512m -Xmx512m -XX:MaxPermSize=512m
Title: Re: JavaCPC Error
Post by: CPCIak on 13:52, 16 April 10
JavaCPC.jar -Xms512m -Xmx512m   -XX:MaxPermSize=512m works fine

Title: Re: JavaCPC Error
Post by: Devilmarkus on 13:55, 16 April 10
Good... So you can create a BAT file to launch it ;)

P.S.: It's highly recommended that you use "Desktop" variant.
If you already choosen "normal" you can change it in the option dialog which opens up on startup.
The emulator is not ready yet so some functions will not work in classic windowed version.
Title: Re: JavaCPC Error
Post by: CPCIak on 14:34, 16 April 10
OK Thanx Markus
Title: Re: JavaCPC Error
Post by: Executioner on 08:16, 20 April 10
Quote from: CPCIak on 13:52, 16 April 10
JavaCPC.jar -Xms512m -Xmx512m   -XX:MaxPermSize=512m works fine

You should only need to increase the maximum memory:

JavaCPC.jar -Xmx512m
Title: Re: JavaCPC Error
Post by: CPCIak on 13:33, 20 April 10
I've just downloaded JavaCPC 6.8.2.0 beta: Now the .exe works! Strange, isn't it?
Title: Re: JavaCPC Error
Post by: Devilmarkus on 13:34, 20 April 10
Quote from: CPCIak on 13:33, 20 April 10
I've just downloaded JavaCPC 6.8.2.0 beta: Now the .exe works! Strange, isn't it?

Yeah I fixed some bullshit ;)
Powered by SMFPacks Menu Editor Mod