ner ieru

Greenhorn
+ Follow
since Feb 12, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by ner ieru

Campbell Ritchie wrote:In which case there is probably a compiler error preventing the GameLauncher.class file from being created. Please check whether you have the GameLauncher.class file in you folder. Use the "dir" instruction on Windows or "ls" on Unix/Linux.
You may need to compile the GameLauncher.java file.



That fixed my problem I thank you guys kindly, I'm amazed by how fast you guys always help out!

I'll just continue to annoy the hell out of you guys till I know enough java myself to help others

Btw is it possible to copy text from the cmd to any other application, as I'm trying to by selecting the text I want to copy and using Ctrl+c and Ctrl+v but no success
16 years ago
Thank you for replying, I was executing the GuessGame class, and figured oh yeah kinda stupid to execute the class that doesn't have a main function..

However I would like to

But I got the following error:
16 years ago
GuessGame.class:

Player:

GameLauncher.class


What am I doing wrong? I read somewhere that you need to use But I'm already doing that, and the code is like this in my book (Head First Java)

Using JDK 1.6.0 update 12 btw

In other words it compiles just fine but won't run.
16 years ago
Or you can just hit language and then select java

Notepad++ is the most awesome text editor out there imo :P
16 years ago
As I don't see an edit button

I would also like to thank you for your quick replies!

Edit: and after posting this message it appeared
16 years ago
Oh, that fixed my problems! I thank you kindly

And thanks for the welcome
16 years ago
Hey there, I just got "Head First Java (2nd edition)"

And ran into some trouble with the examples on page 12 & 13

It compiles just fine, but when I try to run the class file I get the following error:

And this is the actual code:


What am I doing wrong?

Btw I'm using notepad++ to write my code, just the cmd from my windows xp sp3 for compiling and running the .class from the .java file

So I compile (which goes just fine) Hence I think the problem might be somewhere in my JDK folder
I can't run, I was able to run the first example though..

Any help is greatly appreciated

Kudos,
~nerieru
16 years ago