LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2007, 07:58 PM   #1
anilbh
Member
 
Registered: Oct 2005
Location: India
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188

Rep: Reputation: 30
Question 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
 
Old 03-09-2007, 11:10 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.

Last edited by indienick; 03-09-2007 at 11:12 PM.
 
Old 03-11-2007, 06:33 AM   #3
anilbh
Member
 
Registered: Oct 2005
Location: India
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
Arrow

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.
 
Old 03-11-2007, 07:07 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
Old 03-11-2007, 12:35 PM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Quote:
Originally Posted by anilbh
Thank you that is a great start. I was not even expecting a reply .
You're very welcome, anilbh.
 
Old 03-11-2007, 10:58 PM   #6
anilbh
Member
 
Registered: Oct 2005
Location: India
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188

Original Poster
Rep: Reputation: 30
Arrow

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.
 
Old 03-12-2007, 02:30 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Tell Sharekhan to have a closer look at this page http://www.microsoft.com/mscorp/java/ and this statement from the MSJVM FAQ:

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: User messages are okay; but error messages themselves seem to be bouncing jgombos Linux - Server 3 03-03-2007 02:21 PM
Cisco site java script error with ubuntu/FC6 - but works with freespire (???) bgryderclock Linux - Desktop 0 12-17-2006 11:01 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration