To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management
Building Composable Apps in .NET 4 with the Managed Extensibility Framework
CLR Inside Out: Formatting and Parsing Time Intervals in the .NET Framework 4



Go Back   VBForums > Other Languages > Java

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Oct 27th, 2005, 12:44 AM   #1
dsheller
Fanatic Member
 
dsheller's Avatar
 
Join Date: Dec 02
Location: North Carolina
Posts: 733
dsheller is on a distinguished road (10+)
BASIC Java errors

Code:
public class HelloWorldApp  {
	public static void main ( String [] args ) {
		System.out.println ( "TEST" );
	}
}
I just installed java 1.4.2_09 and compiled the above, but when i try to run it as so:

java HelloWorldApp

I get this:

C:\Java>java HelloWorldApp
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp

What is going on, here is some information that might be helpful:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
__________________


"X-mas is 24.Desember you English morons.." - NoteMe
dsheller is offline   Reply With Quote
Old Oct 27th, 2005, 01:30 AM   #2
dsheller
Fanatic Member
 
dsheller's Avatar
 
Join Date: Dec 02
Location: North Carolina
Posts: 733
dsheller is on a distinguished road (10+)
Re: BASIC Java errors

Fixed it, classpath had to be set to nothing... something funky with quicktime was in there.
__________________


"X-mas is 24.Desember you English morons.." - NoteMe
dsheller is offline   Reply With Quote
Reply

Go Back   VBForums > Other Languages > Java


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:30 AM.




To view more projects, click here

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.