When I make a .jar file using BlueJ, it runs fine on both of my PCs (Notebooks)-one is running Windows Vista the other Windows 7 -but not on a different PC running Windows XP. This third PC does have the correct file association and a JRE. No error is displayed, the critical stop sound plays but there is no other activity.
The real question here is why did a standalone JRE work in Windows 7 but not Windows XP?
How can I be sure that people I write programs for can run the jar file without having to install a JDK? A JRE was sufficient for my Windows 7 pc, why is this not always the case?
如果安装了多个jdk,则必须将其删除。然后安装最新版本的jdk。
A standalone JRE allowed excution of jar files by double clicking on Windows 7 but not Windows XP. Based on this, some JREs perform differently than others on different O/Ss.
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.