Author Topic: JavaCPC Error  (Read 2543 times)

0 Members and 1 Guest are viewing this topic.

Offline Travis P

  • CPC464
  • **
  • Posts: 16
  • Country: gb
  • Liked: 2
  • Likes Given: 0
JavaCPC Error
« 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?

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #1 on: 13:59, 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?
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline Travis P

  • CPC464
  • **
  • Posts: 16
  • Country: gb
  • Liked: 2
  • Likes Given: 0
Re: JavaCPC Error
« Reply #2 on: 14:19, 26 March 10 »
Java = The lastest version 6
JavaCPC = 6.7 Win32

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #3 on: 14:27, 26 March 10 »
It should work....
Please send me a detailled screenshot to devilmarkus-[-at-]-cpcwiki.eu
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline CPCIak

  • CPC6128
  • ****
  • Posts: 232
  • Country: de
    • MTB Iserlohn
  • Liked: 12
  • Likes Given: 0
Re: JavaCPC Error
« Reply #4 on: 13:29, 16 April 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

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #5 on: 13:32, 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
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline CPCIak

  • CPC6128
  • ****
  • Posts: 232
  • Country: de
    • MTB Iserlohn
  • Liked: 12
  • Likes Given: 0
Re: JavaCPC Error
« Reply #6 on: 13:36, 16 April 10 »
Thanx DevilMarkus

The .exe file doesn't work at all
The .jar   file works fine

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #7 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
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #8 on: 13:45, 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
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline CPCIak

  • CPC6128
  • ****
  • Posts: 232
  • Country: de
    • MTB Iserlohn
  • Liked: 12
  • Likes Given: 0
Re: JavaCPC Error
« Reply #9 on: 13:52, 16 April 10 »
JavaCPC.jar -Xms512m -Xmx512m   -XX:MaxPermSize=512m works fine


Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #10 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.
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline CPCIak

  • CPC6128
  • ****
  • Posts: 232
  • Country: de
    • MTB Iserlohn
  • Liked: 12
  • Likes Given: 0
Re: JavaCPC Error
« Reply #11 on: 14:34, 16 April 10 »
OK Thanx Markus

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: JavaCPC Error
« Reply #12 on: 08:16, 20 April 10 »
JavaCPC.jar -Xms512m -Xmx512m   -XX:MaxPermSize=512m works fine

You should only need to increase the maximum memory:

JavaCPC.jar -Xmx512m

Offline CPCIak

  • CPC6128
  • ****
  • Posts: 232
  • Country: de
    • MTB Iserlohn
  • Liked: 12
  • Likes Given: 0
Re: JavaCPC Error
« Reply #13 on: 13:33, 20 April 10 »
I've just downloaded JavaCPC 6.8.2.0 beta: Now the .exe works! Strange, isn't it?

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: JavaCPC Error
« Reply #14 on: 13:34, 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 ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release