View Full Version : [ubuntu] problem running eclipse on ubuntu
sam_barker123
August 17th, 2008, 04:33 AM
Hi everyone,
I am trying to run eclipse on Ubuntu.But it crashes with an error
Error creating the view.
org.eclipse.core.runtime.Plugin
Does anyone know how to fix it.
I did edit /etc/eclipse/java_home and moved the gcj entry..but it does not seem to help
ad_267
August 17th, 2008, 05:47 AM
This might help: http://ubuntuforums.org/showthread.php?t=606006
Sounds like you need sun java.
sudo apt-get install sun-java6-jre sun-java6-bin
tinny
August 17th, 2008, 10:05 AM
This might help: http://ubuntuforums.org/showthread.php?t=606006
Sounds like you need sun java.
sudo apt-get install sun-java6-jre sun-java6-bin
If the OP is using a 32 bit Ubuntu install they should completely switch to Sun Java 6.
sudo apt-get update
sudo apt-get install sun-java6*
This will install JRE, Java browser plug-in and the Sun JDK.
You should make sure that you are compiling using the Sun JDK compiler.
In “Window” > “Preferences” > “Installed JREs” you need to “Add” the Sun JDK and set it as the default.
The JDK should be in the "/usr/lib/jvm/" folder.
pcjunkie
August 19th, 2008, 03:16 PM
You might need to tell Ubuntu which java library to use.
tinny
August 19th, 2008, 09:18 PM
You might need to tell Ubuntu which java library to use.
Done like this
sudo update-alternatives --config java
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.