• 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

Problem Installing Eclipse

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I downloaded Eclipse 3.5.3 and tried to run it. It's constantly popping up a warning console. The warning is attached to this post.
I use JDK 1.6.0_20.

What could be the problem with my installation ??

Why is it looking for JRE in eclipse setup ??


Cheers,
EclipseProblem.jpeg
[Thumbnail for EclipseProblem.jpeg]
Eclipse Installation Warning
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What did you set your JAVA_HOME to ?
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:What did you set your JAVA_HOME to ?



My JAVA_HOME is set to JDK folder

JAVA_HOME = C:\Program Files\Java\jdk1.6.0_20
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What about your PATH ?
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:What about your PATH ?



Added %JAVA_HOME%/bin to PATH. Is there anything else I am missing ??
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kalyan Kamepalli wrote:

Christophe Verré wrote:What about your PATH ?



Added %JAVA_HOME%/bin to PATH. Is there anything else I am missing ??



It's now showing a different error. Attached the same to this post.
I just couldn't understand the problem with this Installation. I didn't have any issues with my previous installations.
Is it something to do with windows 7 ?? Because, that's the only thing changed from my side and of course the
JDK Version.
EclipseProblem.png
[Thumbnail for EclipseProblem.png]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you check the .log file under \workspace\.metadata ?
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:Can you check the .log file under \workspace\.metadata ?



I don't have any workspace created. I couldn't even run/instal Eclipse.
It's asking me to check the installation log and then quits.

The log file reads



!SESSION 2010-06-17 15:34:33.60 ------------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.update.configurator 2010-06-17 15:34:34.221
!MESSAGE Could not load from shared install
!STACK 0
java.lang.Exception
at org.eclipse.update.internal.configurator.ConfigurationParser.processConfig(ConfigurationParser.java:304)
at org.eclipse.update.internal.configurator.ConfigurationParser.startElement(ConfigurationParser.java:106)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.eclipse.update.internal.configurator.ConfigurationParser.parse(ConfigurationParser.java:70)
at org.eclipse.update.internal.configurator.PlatformConfiguration.loadConfig(PlatformConfiguration.java:1023)
at org.eclipse.update.internal.configurator.PlatformConfiguration.initializeCurrent(PlatformConfiguration.java:692)
at org.eclipse.update.internal.configurator.PlatformConfiguration.<init>(PlatformConfiguration.java:87)
at org.eclipse.update.internal.configurator.PlatformConfiguration.startup(PlatformConfiguration.java:646)
at org.eclipse.update.internal.configurator.ConfigurationActivator.getPlatformConfiguration(ConfigurationActivator.java:321)
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:104)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)

!ENTRY org.eclipse.core.runtime 2010-06-17 15:34:34.286
!MESSAGE Product org.eclipse.sdk.ide could not be found.

!ENTRY org.eclipse.osgi 2010-06-17 15:34:34.327
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:204)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


Is it something to do with the latest version of JDK. I am using JDK1.6.0_20.

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try "eclipse -clean".
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:Try "eclipse -clean".



Something must be seriously wrong with my machine.
I used eclipse -clean and it still raising the same message popup.
Untitled.jpg
[Thumbnail for Untitled.jpg]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to remove the eclipse directory, and reinstall eclipse. Don't touch your SDK installation.
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:Try to remove the eclipse directory, and reinstall eclipse. Don't touch your SDK installation.



Dear Christophe,

I have done that 1o times. In fact have been doing since morning.
I just don't understand the problem. I removed the complete eclipse folder and then
freshly downloaded it from eclipse.org and tried to instal it. No matter how many times
I do it, it keep popping that weird message.

 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JVM Exited with code = - 1

what could be the reason for this problem. I have never seen this error before.
Is that something to do with the latest version of JDK. One final test. I'll change my JDK to
a bit older version and give it a go.

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have write permissions in the installation folder ? (I don't know how Vista manages folders). Try to launch eclipse using a different path for your data, like for example your home directory "eclipse -data c:\somewhere"
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:Do you have write permissions in the installation folder ? (I don't know how Vista manages folders). Try to launch eclipse using a different path for your data, like for example your home directory "eclipse -data c:\somewhere"



I have write permissions to where I have my Eclipse setup. As you suggested, I moved it to
some other location and tried. It's the same problem. I use windows 7.

BTW, I am tracking few other threads in different forums and seeing few suggestions to go back to
older versions of JDK. I think, this could be a problem. I'll give it a go and let you know the result.

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok. I'm running out of suggestions
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The error happening in ConfigurationParser is strange. As a test, you could try to remove the "configuration" directory (this might make things even worse...).
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:Ok. I'm running out of suggestions



Thanks for all your suggestions.
I'll let you know once I get it to run.

Cheers,
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kalyan Kamepalli wrote:

Christophe Verré wrote:Ok. I'm running out of suggestions



Thanks for all your suggestions.
I'll let you know once I get it to run.



Here it goes...

I just downgraded my JDK version from 1.6.0_20 to 1.5.0_22 and that just worked.
So, it seems there's some compatibility issue with new versions of JDK.


Once again.. Thanks for all your timely suggestions

Cheers,
Kalyan

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Scary
 
Kalyan Kamepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Verré wrote:Scary



Yes it is
But that is how it worked. I just started my career in web development and using IDEs.
So, some one like you gotta come up with reasons for these kind of problems.

-Kalyan
 
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic