Works in MSJVM but not in Java - the error messages
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188
Rep:
Works in MSJVM but not in Java - the error messages
I use an online trading site Sharekhan.com (India) which has a fast trade option with a very neat front end . However specific instructions are to disable Sun Java and enable MSJVM ( WIN XP of course ) was wondering if this could be made to work in LInux . And then I would erase XP .
Here are the error messages which appear in the Java Console. In Linux.
Quote:
load: class StreamingApplet.RTApplet.class not found.
java.lang.ClassNotFoundException: StreamingApplet.RTApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:58: Engine "clearlooks" is unsupported, ignoring
From the looks of the last few lines - the one concerning "clearlooks" - it seems as though Java is trying to inherit the "Look and Feel" of the GTK+ theme, but is doing so unsuccessfully.
I highly doubt the MSJVM will provide support for "clearlooks" as it's not a part of Microsoft in any way, shape or form. (Least of all, support for GTK+ themes and styles). You could try installing the GTK+ libraries for Windows (here).
If you want to figure out a fix for this, I suggest looking into Swing (javax.swing) class structures and diagrams.
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188
Original Poster
Rep:
Quote:
Originally Posted by indienick
I highly doubt the MSJVM will provide support for "clearlooks" as it's not a part of Microsoft in any way, shape or form. (Least of all, support for GTK+ themes and styles). You could try installing the GTK+ libraries for Windows (here).
If you want to figure out a fix for this, I suggest looking into Swing (javax.swing) class structures and diagrams.
Thank you that is a great start. I was not even expecting a reply .
I had not even read the messages. But it seems there are 10 more . Will look into them too.
Those messages are what I got as I got them. Have read a little Java years back so right now they make no sense to me . But will try if there is a chance.
To me it appeared that MSJVM has some routines which are not available in the Sun Java . Is that assumption correct. There is another site called religear.com and that also requires you to use MSJVM.
Repeat these messages were in the java console of firefox.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by anilbh
To me it appeared that MSJVM has some routines which are not available in the Sun Java .
Sure, breaking Java compatibility and other unfair behavior cost MS almost 2 Billion dollars in a settlement with Sun several years ago.
MSJVM is no more maintained, outside security patches, and will die at the end of 2007.
I'm surprised Sharekhan is still making this JVM downloadable from their site while MS has stopped doing it. They (Sharekhan) should start thinking to fix their applet to be compatible with regular Java.
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188
Original Poster
Rep:
Quote:
Originally Posted by jlliagre
Sure, breaking Java compatibility and other unfair behavior cost MS almost 2 Billion dollars in a settlement with Sun several years ago.
MSJVM is no more maintained, outside security patches, and will die at the end of 2007.
I'm surprised Sharekhan is still making this JVM downloadable from their site while MS has stopped doing it. They (Sharekhan) should start thinking to fix their applet to be compatible with regular Java.
I was aware of the case but not the exact issues.
Have no idea who maintians the code for Sharekhan . When I wrote to them that I wanted to use Linux. I got a standard reply saying the requirements were Windows, Internet Explorer and MSJVM.
I am a developer. Can I continue to distribute the MSJVM?
The End User License Agreements (EULAs) for both Microsoft Visual J++® and the Microsoft SDK for Java grant limited rights to redistribute the installer for the MSJVM (msjavx86.exe). However, Microsoft highly discourages continued redistribution of the MSJVM as provided for in these EULAs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.