Thursday, November 24, 2016

java - How to make Microsoft JVM work on Windows 7?

I am struggling with the following problem. I cannot install MS JVM 3810 properly on Windows 7. When I start Interner Explorer 8 without starting any java 1.1 programs choosing Java custom settings under Internet options causes the crash of the browser.



I have some Java 1.1 programs that work well in Internet Explorer 8 on Windows XP after the installation of MS JVM 3810. I know that it is not advised to use this old JVM but it is not a short-term option to port the programs in newer Java since it contains 3rd party components. Complete rewrite is a long-term plan.



Strangely jview and appletviewer (jview /a) works from a console so the MS JVM 3810 is not completely busted just IE 8 does not like it. The problem with the appletviewer is that it cannot connect to the server even if both signed and unsigned content in Java custom settings have been set to Enable all. (Since Java custom settings was unreachable due to the crash the modifications - including My computer - were performed through the registry and pre-checked to behave correctly on Windows XP and Internet Explorer 8.)
If jview was working then I could at least think of a workaround.



Is there a way to configure MS JVM or jview properly on Windows 7?




Another options would be:




  • Checking Internet Explorer 9 Beta.

  • Using virtualbox and Windows XP older IE in it.

  • Delaying Windows 7 upgrade.

  • ...



Update




Finally we have modified all the programs to work parallelly as applet and application as well.



This way the programs can still be used from browser on older Windows versions. On Windows 7 the applications are started from the desktop. Installation to all user machine can easily be solved since they already have a large common application drive.
The code update is fortunately only a few lines of modification: including a main method in the applet class.
Furthermore instead of the starting html page a bat file is used to set the classpath before the startup with jview.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...