This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Is there any way to avoid uninstalling of Sun JVM? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is there any way to avoid uninstalling of Sun JVM? " Watch "Is there any way to avoid uninstalling of Sun JVM? " New topic
Author

Is there any way to avoid uninstalling of Sun JVM?

Prashant Poman
Greenhorn

Joined: Feb 13, 2008
Posts: 7
I am using Microsoft JVM for the purpose of certain application.There is no way to avoid it.Because ,the application requires MS JVM and it does not work with Sun's version of JVM.This is how I am locked in Windows XP.I have to uninstall Sun JVM to use that application.
Is there any way to avoid the uninstalling of Sun JVM, still able to use that application?

Thanks.
Prashant.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37865
    
  22
Welcome to the Ranch.

I am surprised that your app only works on a Microsoft JVM; have you mistakenly inserted platform-dependent features into it?

Suggest you try altering your PATH environment variable (details here in the installation instructions) so you have the Microsoft JVM shown before Sun. See whether that works.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41015
    
  43
It used to be possible to have both the MS and the Sun JVM installed on a single machine, and use both of them. Why do you think it isn't? As Campbell said, you need to set the PATH (and possibly the CLASSPATH) accordingly, of course.


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Is there any way to avoid uninstalling of Sun JVM?
 
Similar Threads
Problem faced while uninstalling RAD 7.0
Delete A Directory
Rmi basic, why skeleton is not needed ?
Two jboss instances with different JVM
Recompile JSP's on Sun One