You are not logged in.

#1 2012-03-15 14:11:41

zajca
Member
From: Czech Republic
Registered: 2008-11-24
Posts: 35

Eclipse problem after change from Openjdk to jre

Hi guys, I have problem with eclipse and ant.
I switched from openjre to sun jre from aur, I have instaled jre and jdk. But when I try to run my project over ant. I always get this error:

Specified VM install not found: type Standard VM, name java-7-openjdk

I don't know where is the problem.
this is what i have in /etc/profile

PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/jre/bin/:/usr/share/eclipse/jre/bin/java"
export PATH

JAVA_HOME="/opt/java"
export JAVA_HOME

I don't know where is the problem.

Offline

#2 2012-03-15 15:23:18

zajca
Member
From: Czech Republic
Registered: 2008-11-24
Posts: 35

Re: Eclipse problem after change from Openjdk to jre

So i try to run ant build from terminal and it works, but in eclipse not. So it's not probably fail in AUR package or system settings. It's some settings in eclipse, but I can't find it. Any sugestion?

Offline

#3 2012-03-15 15:25:46

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Eclipse problem after change from Openjdk to jre

Have you checked the Java Build Path in eclipse?

Offline

#4 2012-03-15 15:30:42

zajca
Member
From: Czech Republic
Registered: 2008-11-24
Posts: 35

Re: Eclipse problem after change from Openjdk to jre

jdarnold wrote:

Have you checked the Java Build Path in eclipse?

I try to set build path to option "project" and also set my path in Folder option source"src" and output:"build", it's not working

Offline

Board footer

Powered by FluxBB