aspose file tools*
The moose likes Beginning Java and the fly likes jre 1.4.1 generated application & jre 1.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jre 1.4.1 generated application & jre 1.3.1" Watch "jre 1.4.1 generated application & jre 1.3.1" New topic
Author

jre 1.4.1 generated application & jre 1.3.1

Diego Bowen
Ranch Hand

Joined: Aug 19, 2003
Posts: 50
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

Joined: Mar 18, 2003
Posts: 281
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.


The nice thing about Standards is that there are so many to choose from!
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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.


42
Diego Bowen
Ranch Hand

Joined: Aug 19, 2003
Posts: 50
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
 
subject: jre 1.4.1 generated application & jre 1.3.1