0
votes
1answer
1k views

Eclipse can't find Java after upgrade to 14.04

After upgrade to Ubuntu 14.04 Eclipse 3.8 can't find any installed Java VM. I have the Sun JDK 1.7 and the openJDK7 installed. I have tried modifying the eclipse.ini to point it to one of the ...
0
votes
1answer
110 views

How to install Eclipse for Oracle Java on Ubuntu 12.04

I have Oracle Java 7 on my system and want to install Eclipse and make it use Java 7 instead of openjdk. I installed Eclipse earlier using synaptic but after doing check updates it didn't work ...
1
vote
0answers
55 views

Java apps consume 200% my CPU after cloning image in another computer

Yesterday I cloned an image of Linux from a Core 2 Duo to a Core i5 laptop. Everything works as expected except for JVM. I've installed in my machine the OpenJDK, Java 8 (jdk jre) and Java 7 (jdk ...
0
votes
0answers
32 views

Select a JVM (Java Virtual Machine) on a per program basis

I recently had to select openjdk7 as the default Java implementation on my Ubuntu 12.04. I had to do this because some Eclipse plugins required Java 7 in order to work correctly. I would like to know ...
0
votes
0answers
625 views

cannot open eclipse indigo in Ubuntu 12.04 with openjdk-7-jdk installed

I have the openjdk-7-jdk installed, the java -version java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 20.0-b12, ...
1
vote
1answer
3k views

Why do I get Exception in thread “main” java.lang.UnsupportedClassVersionError? [duplicate]

I am trying to run a program on eclipse. I am getting the following error: Exception in thread "main" java.lang.UnsupportedClassVersionError: Perlinit : Unsupported major.minor version 51.0 at ...
1
vote
1answer
766 views

“Failed to fetch” error when installing Eclipse!

I am trying to install Eclipse by using the Ubuntu Software center. I do have an Internet connection and I have actually downloaded other software successfully. However, when I try to install Eclipse, ...
0
votes
2answers
2k views

How to configure JDBC, Tomcat for Eclipse IDE on my Ubuntu 12.04

I got an eclipse IDE on my client's machine. He needs to configure JDBC, and Tomcat on this IDE to use for his Java projects. Kindly help. He got mysql installed right now.
11
votes
5answers
6k views

Eclipse has multiple issues after JRE-6 (OpenJDK) upgrade

I'm on 12.04 LTS, and trying to use Eclipse Indigo. This morning Ubuntu made me update the following packages: Preparing to replace icedtea-6-jre-cacao 6b24-1.11.3-1ubuntu0.12.04.1 (using ...
5
votes
3answers
3k views

How to use Eclipse with the JDKs provided by 12.04?

I updated to Ubuntu 12.04 and now Eclipse does not accept OpenJDK 6 in /usr/lib/jvm anymore. I tried to install openjdk 7 and it did create two folders in /usr/lib/jvm, but neither is accepted by the ...