File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S I Built My Project In 1.5, But It Bombs In1.4.2. Is This OK?

 
Bob Nedwor
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I built everything using JavaTM 2 Platform Standard Edition / Development Kit 5.0 / JDK(TM) 5.0.

And it runs great using java 1.5 (this version):
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)

But if I try to run it using Java 1.4.2 (this version):
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Then it errors out with: "Exception in thread "main" java.lang.UnsupportedClassVersionError: suncertify/runme (Unsupported major.minor version 49.0)"

Is this OK? Especially if I document everything they ask for in the required "version.txt" to be delivered in our /docs directory???

Thanks for any hints.
--Bob
 
Ed Tse
Ranch Hand
Posts: 183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, if your compliant level is 1.5, it won't run with 1.4.2. That's acceptable.
 
Bob Nedwor
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, Thanks Ed. I am sticking with 1.5.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic