Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Re-engineer application to run in JRE 1.4.2 against old JRE 1.1.7

Thread view: 
Prasoon - 13 Apr 2007 11:10 GMT
I have a JAR file containing classes that were compiled using JDK
1.1.7. The JAR when run, works perfectly with JRE 1.1.7 but I need to
have it running using JRE 1.4.2 which does not happen.
THE JAR contains files that use AWT components which were created
using Symantec's Visual Cafe - the source code of which is not
available whereas for rest of the application, code is available.
Using the Java Decompiler JAD, i was able to decompile the class files
but when the application was later compiled using 1.4.2, I noticed
that the application shows a few package errors which are reportedly
missing. Those packages however were not present in the JAR however
JRE 1.1.7 ran it perfectly.
As am new to JAVA, I am not able to understand how to proceed further.
Visual Cafe has been discontinued by Symantec and rewriting that
component again will be a tiresome effort I guess.
Any pointers how to go about making the application run in JRE 1.4.2
with least rework would be appreciated.

Thanks
Andrew Thompson - 13 Apr 2007 11:20 GMT
>I have a JAR file containing classes that were compiled using JDK
>1.1.7. The JAR when run, works perfectly with JRE 1.1.7 but I need to
>have it running using JRE 1.4.2 which does not happen.

Why not?  Do you get runtime errors?  What are
they?  There are applications that were compiled
for Java 1.1, that run on every VM since.

>THE JAR contains files that use AWT components which were created
>using Symantec's Visual Cafe - the source code of which is not
[quoted text clipped - 4 lines]
>missing. Those packages however were not present in the JAR however
>JRE 1.1.7 ran it perfectly.

Java 1.4.2 has all the classes that were contained in 1.1.7,
+ a lot more.

>As am new to JAVA, ..

Java is not an acronym, but a (silly) proper name,
so only the first letter needs to be upper case.

>..I am not able to understand how to proceed further.
>Visual Cafe has been discontinued by Symantec and rewriting that
>component again will be a tiresome effort I guess.
>Any pointers how to go about making the application run in JRE 1.4.2
>with least rework would be appreciated.

Try running the original jar from the command line,
using Java 1.4.2.  Report any runtime errors that
happen.

Signature

Andrew Thompson
http://www.athompson.info/andrew/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.