File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Runtime Error :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Runtime Error :(" Watch "Runtime Error :(" New topic
Author

Runtime Error :(

Landon Ross
Greenhorn

Joined: Jun 23, 2005
Posts: 3
Oy, first post.

I'm new-ish to java. Learned it once, forgot most it and am re-learning it now.

So I picked up the Headfirst java book, cuz it looked like more fun then most dry manuals you get for programming, and first program in the book, I've hit a nasty looking wall.

Heres the code:


the filename is MyFirstApp.java. It compiles fine, but at runtime I get the error



where have I gone wrong?
Landon Ross
Greenhorn

Joined: Jun 23, 2005
Posts: 3
Sorry. Ignore the question. I was using a java compiler for 1.4 (dont ask me how, I've only installed 1.5) and a java 1.5 JVM.

If anybody knows off the top of their head does SuSE 9.3 proffesional come with java 1.4.x installed by default? That might be why it happened. No pressure to answer though, it works now .
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Originally posted by Landon Ross:

If anybody knows off the top of their head does SuSE 9.3 proffesional come with java 1.4.x installed by default?


I know that SuSe 9.2 does that.


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Runtime Error :(
 
Similar Threads
Interface - AbstractClass Collision
Run time error
main() & package question
NoClassDefFoundError: wrong name
Basic Question please answer