This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

David Wismer

Greenhorn
+ Follow
since Dec 19, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by David Wismer

Deleting the ClassPath solved the problem!

THANKS!
8 years ago
Grabbed the wrong screen shot when I put the above images together. I have updated the screen shot showing the class and the error.



8 years ago
Yes, I can get the program to compile, just not run.
8 years ago
Can someone help me get past this? I am trying to run Hello World on a Windows XP machine and can not get it to run. It will compile, but not run. Here is the code:



Here is the Windows CLASSPATH

C:\Program Files\Java\jdk1.6.0_17\bin

Here is the Windows Path

C:\oracle\ora81\bin;C:\oracle\product\10.2.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Alky for Applications\Libraries\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\VisualSVN\bin;C:\Program Files\Java\jdk1.6.0_17\bin

Here are screen shots of the errors that I get. I have gone to java.com and ran the test to see if Java is working and it is.

Help, almost ready to go back to .Net!
8 years ago
Funny! actually glad to have had this little exercise. Anytime you get a chance to problem solve you learn. Time to turn the page.
8 years ago
How would I edit this code so the Main sub does display the panel?

8 years ago
Added a Main Sub and the code compiles and does not throw an error when ran, but also does not display anything. FYI, this is the entire code base.

8 years ago
Not that I can see, but since I only have of a couple of hours of experience with Java I could be wrong.

8 years ago
Found this simple Java code and was able to compile and run it. Seems like Java is working, but still unable to run the Party application in the quick dip section of Head First Java.




8 years ago
One step forward. Ran java Party and now getting this error.

8 years ago
I am trying to run the very first java app from the book Head First Java. I can get the app to compile. but when I try and run the app I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: party <wrong name: Party/class

Several lines of errors then the last line is..

Could not find the main class: party. Program will exit.

I attached a screen shot of the full error and here is the code that I am trying to compile and run.

Thanks for helping a newbie get started!


8 years ago