Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runtime Error :(

 
Landon Ross
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic