what did i install wrong?  
Author Message
wickybear





PostPosted: 2004-10-2 4:46:00 Top

java-programmer, what did i install wrong? Ive been working on a space invaders game at school, i took it home today,
and tried installing jcreator, upon execution of my game class i got this
error.

http://www.geocities.com/xpirimint/cs3/error.JPG

any help would be apreciated

 
Andrew Thompson





PostPosted: 2004-10-2 4:59:00 Top

java-programmer >> what did i install wrong? On Fri, 01 Oct 2004 16:46:26 -0400, wickybear wrote:

> Ive been working on a space invaders game at school, i took it home today,
> and tried installing jcreator, upon execution of my game class i got this
> error.
>
> http://www.geocities.com/xpirimint/cs3/error.JPG

As a tip for future, output in DOS can be copied by dragging
your mouse diagonally across the window and hitting 'enter'.
<http://www.physci.org/kbd.jsp?key=enter>

> any help would be apreciated

The problem here seems to be that JCreator is not passing
the name of the Java class to the java command.

Try putting a 'run.bat' file into the directory of your
class with the following two lines.

java
java -cp . TheClass

For the second, replace 'TheClass' with the name of your
main class. Double click it and copy/paste the output.

..But just to check. Is it an applet you are writing?
(All the above assumed it was *not* an applet)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
 
wickybear





PostPosted: 2004-10-7 4:53:00 Top

java-programmer >> what did i install wrong? i figured it out, i just needed a reboot, and it was actually a jframe, not
an applet.