File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jre 1.4.1 generated application & jre 1.3.1

 
Diego Bowen
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Computer Folks, I have a java application made on JBuilder 8 using jre 1.4.1 and I would like to deploy it on a machine that only has jre 1.3.1. Is there a way in JBuilder 8 or otherwise that I could make it work.
 
Eddie Vanda
Ranch Hand
Posts: 281
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Diego,
I would just copy the classes across to another directory and then from a dos box do:
java NameOfTheClassWithTheMainMethod
You could also do that inside the directory where you generated your classes.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Install J2SDK 1.3 on your machine, add another compiler definition in JBuilder, and tell JBuilder to rebuild the application using that 1.3 compiler.
Or (can't remember if JBuidler supports this, I think it does) set JBuilder to use compiler option "-target 1.3" which should generate 1.3 compatible classfiles.
Of course this only works if you used no 1.4 only classes and functions and don't rely on possibly changed behaviour introduced in 1.4.
 
Diego Bowen
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jeroen, Thanks for the assistence, however it does seem that my application uses a lot of 1.4 classes....Do you know of anyway this would work short of using 1.4.1???
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic