• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

eclipse doesn't run on vista (x64)

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Deepak Giri
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:


 
All that thinking. Doesn't it hurt? What do you think about this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic