Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes eclipse doesn't run on vista (x64) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse doesn Watch "eclipse doesn New topic
Author

eclipse doesn't run on vista (x64)

Deepak Giri
Ranch Hand

Joined: Feb 12, 2009
Posts: 52
hello to anyone reading this..
i'm having problems with running eclipe on my windows platform. i was using netbeans from starting but now i think i better should know how eclipse works. so i downloaded it.
but whenever i try to run the program (on windows vista 64 bit), i get a message window, with many things/information, which i surely am not able to understand. (though i have a slight idea that it requires java 1.5, i have 1.6. so is this the real problem?)
i'm attaching the screenshot. please help



current configuration:
jdk 64 bit (latest) installed
jre (both 32 and 64 bit) installed
netbeans 6.5.1 installed (with glassfish v2, v3, and tomcat)
jboss installed

environment variables set:
PATH=.;C:\Program Files\Java\jdk1.6.0_13\bin;C:\jboss-5.1.0.GA\bin
CLASSPATH=.;C:\jboss-5.1.0.GA\client\jboss-javaee.jar
JAVA_HOME=.;C:\Program Files\Java\jdk1.6.0_13
JBOSS_HOME=.;C:\jboss-5.1.0.GA


SCJP
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

You say you have a 32-bit JDK installed? Then make Eclipse use it by identify the location of the 32-bit jvm.dll in the eclipse.ini file, like this:



I am also running Vista 64-bit and Eclipse does not like running with a 64-bit JVM, though if I recall from a while back it would actually run, I think on one of the 1.5 or early 6.0 64-bit JVMs, but I ended up with weird GUI behavior (missing scroll bars, stuff like that). Eclipse is much happier with a 32-bit JVM.

And a few other suggestion:
a) Get rid of the CLASSPATH - that is a sure-fire way to screw things up in the long run.
b) What is with the ".;" at the beginning of JAVA_HOME and JBOSS_HOME, get rid of that
c) I recommend not installing the JDK in Program Files - having a space in the path can trip up some Java libraries.


JBoss In Action
Deepak Giri
Ranch Hand

Joined: Feb 12, 2009
Posts: 52
thanks for replying

actually i said i have both 32 and 64 bit versions of the JVM not the JDK (which is only 64 bit).

and the eclipese.ini file is showing me something like this..


i then changd some part of the file to read as



but now when i try to run eclipse, it is saying..

A Java Runtime (JRE or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:
-C:\Program Files\Java\jdk1.6.0_14\jre\hin\server\jvm.dll
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The jvm.dll isn't a jvm you can use in that way: you're supposed to put the java executable there.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Remove the '-' from the start of the jvm.dll line!



But just a minute, this lookes like the 64-bit version. You need to install a 32-bit JDK. Or reference the jvm.dll for a 32-bit JRE. In other words, I expected this:


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse doesn't run on vista (x64)
 
Similar Threads
Class file not being made
Not able to Start JBoss(run.bat)
Starting JBoss
64bit Groovy
Help with running my first program.