Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » java disappeared after being there for some days(installation connection to java)
java disappeared after being there for some days [message #869910] Fri, 04 May 2012 18:31 Go to next message
landon kelsey is currently offline landon kelseyFriend
Messages: 1
Registered: May 2012
Junior Member
yes I read "read this first"
no simply "-vm" found in ANY eclipse.ini

error starting eclipse
could not find jdk or jre
after searching in current PATH and location
/usr/lib/eclipse/jre/bin/java

[qt4user@lmkiii eclipse]$ lsa usr/lib/eclipse/jre/bin/java
ls: cannot access usr/lib/eclipse/jre/bin/java: No such file or directory

[qt4user@lmkiii eclipse]$ grep -i vm `locate eclipse.ini`
/etc/eclipse.ini:-vmargs
/home/qt4user/Eclipse/eclipse/eclipse.ini:-vmargs
/usr/lib/eclipse/eclipse.ini:-vmargs

no simply "-vm" found in ANY eclipse.ini

echo $PATH
/usr/lib/qt4/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/home/qt4user/.local/bin:/home/qt4user/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc

files mentioned in previous post do not exist

[qt4user@lmkiii eclipse]$ lsa /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
ls: cannot access /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java: No such file or directory
[qt4user@lmkiii eclipse]$ lsa /usr/lib/eclipse/jre/bin/java
ls: cannot access /usr/lib/eclipse/jre/bin/java: No such file or directory
[qt4user@lmkiii eclipse]$

locate java lists 100000000 files

java eats memory, pain to admin, slow,





[Updated on: Fri, 04 May 2012 18:39]

Report message to a moderator

Re: java disappeared after being there for some days [message #869980 is a reply to message #869910] Sat, 05 May 2012 12:18 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/04/2012 12:31 PM, landon kelsey wrote:
> yes I read "read this first" no simply "-vm" found in ANY eclipse.ini
>
> error starting eclipse
> could not find jdk or jre
> after searching in current PATH and location
> /usr/lib/eclipse/jre/bin/java
> [qt4user@lmkiii eclipse]$ lsa usr/lib/eclipse/jre/bin/java
> ls: cannot access usr/lib/eclipse/jre/bin/java: No such file or directory
>
>
> [qt4user@lmkiii eclipse]$ grep -i vm `locate eclipse.ini`
> /etc/eclipse.ini:-vmargs
> /home/qt4user/Eclipse/eclipse/eclipse.ini:-vmargs
> /usr/lib/eclipse/eclipse.ini:-vmargs
>
> echo $PATH
> /usr/lib/qt4/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/home/qt4user/.local/bin:/home/qt4user/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc

First, I wonder if you didn't use the Eclipse from your Linux distro. If
you did, smoke it and go get a real one from eclipse.org.

Second, if you're planning on using Eclipse to develop code in Java,
before you look into the next thing I say here, download a proper Sun
JDK. I'd place it locally to my own user rather than muck with the one
associated with your overall Linux environment.

Last, install Eclipse locally to your user, edit its eclipse.ini and
follow the instructions given by http://wiki.eclipse.org/Eclipse.ini.
Previous Topic:WCF Services
Next Topic:Error on updating Eclipse SDK
Goto Forum:
  


Current Time: Fri Apr 19 02:52:38 GMT 2024

Powered by FUDForum. Page generated in 0.03476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top