• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI and IE

 
mohamed zafer
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I have developed an appplet that uses RMI, it runs perfect in the appletviewer. but not on IE5.
One solution was to put rmi.zip along with the browser VM classes. But this is not what i want, when the appplet gets downloaded to the browser i also download the rmi classes as an jar file. but this does'nt help. The error shown is
NoClassDefFoundError : java.rmi.Naming.
what is the possible solution for this
zafer
 
Jerry Pulley
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed,
I don't use IE, so I'm not the best person to answer this, but here's some thoughts. Probably the best solution is to use the Java Plugin on the client.
I checked the java classes that ship with the Netscape browser and found the RMI classes in jae40.jar, so your applet should at least be able to use the naming service on that one.
Anybody familiar with Java support in IE want to take a shot at this?
jply
 
dan chris
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohammed
I have read somewhere , quote " Microsoft's java implimentation
doesn't support rmi" I beleive a recent court ruling has forced microsoft to include rmi in its java implimentation"
However i am not sure if the vm in IE5.0 includes rmi package
hope it helps
 
Sunita Vontel
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohamed
I am sorry I dont have an answer but instead I have a question .
U said One solution was to put rmi.zip along with the browser VM classes.

I want to know where I can get rmi.zip file and how do i put it along with the browser VM classes. What are VM classes?

Your reply will be very helpful.
Thank you
Sunita
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browser's VM is 1.1 so its unable to recognize the classes of RMI
therefore either we should have to download the RMI Patch from java site or to go for someother implementation....
 
mohamed zafer
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sunita
A part of the answer to ur question is given by mateen, You can download the RMI zip file containing the classes from the sun site.
Place this zip file in ur PC's winnt/java/packages folder
That's it, now ur browser will support RMI.
I hope i answered to your question.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!