简体   繁体   中英

Running a swing application with older java version

i have a swing application needs j2 se 7+. i want to run this application with java 1.6.10 installed computers. my ex application needs 1.6.10 so i cant update my jre to 1.7+, when i call the application from web, web start says "you must install j2s2 7+ to launch this application" how can i run this application with java 1.6?

 <J2se version ="1.7+"/>

Differences among different major versions of java (1.5 - 1.6 - 1.7) include differences at the compilation step. Therefore if an application has been compiled for Java 1.7, you cannot run it on a Java 1.6 Virtual Machine.

In order to do what you want, you will need the source recompiled for Java 1.6. If it can be compiled for 1.6, it is quite likely to run on 1.6 and 1.7.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM