Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] lyo-dev Digest, Vol 19, Issue 13

Hi, 

I had a similar problem, and it was because the eclipse preference was set
to the jre not the installed jdk.

Window > Preferences > java > Installed JREs

Add the jre in your jdk and set this to the default.

For good measure I also have the user system variable JAVA_HOME set to
C:\Program Files\Java\jdk1.6.0_39\
...and the system variable PATH ending in ;C:\Program
Files\Java\jdk1.6.0_39\bin

Regards, 

Judith

-----Original Message-----
From: lyo-dev-bounces@xxxxxxxxxxx [mailto:lyo-dev-bounces@xxxxxxxxxxx] On
Behalf Of roopa.venu@xxxxxxxxxxxxx
Sent: 11 March 2013 12:53
To: lyo-dev@xxxxxxxxxxx
Subject: Re: [lyo-dev] lyo-dev Digest, Vol 19, Issue 13

Hi,

I get the following error messages.

Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project oslc4j-core: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] C:\Program Files\Java\jre7\..\lib\tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[ERROR] -> [Help 1]
[ERROR]


COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
  C:\Program Files\Java\jre7\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] 1 error

 Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.eclipse.lyo.oslc4j.core:oslc4j-registry:war:1.0
[WARNING] 'build.plugins.plugin.version' for
org.mortbay.jetty:jetty-maven-plugin is missing. @ line 80, column 11
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.eclipse.lyo.oslc4j.samples:oslc4j-stockquote-sample:war:1.1
[WARNING] 'build.plugins.plugin.version' for
org.mortbay.jetty:jetty-maven-plugin is missing. @ line 81, column 11
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.eclipse.lyo.oslc4j.samples:oslc4j-test-sample:war:1.1
[WARNING] 'build.plugins.plugin.version' for
org.mortbay.jetty:jetty-maven-plugin is missing. @ line 87, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]


I am using JDK 1.7 and set CLASSPATH=C:\Program Files\Java\jdk1.7.0_17\bin
and JAVA_HOME=C:\Program Files\Java

Request your help in rectifying the same.


Thanks,
Roopa Venu
Mobile - 9945656908




-----Original Message-----
From: lyo-dev-bounces@xxxxxxxxxxx [mailto:lyo-dev-bounces@xxxxxxxxxxx] On
Behalf Of lyo-dev-request@xxxxxxxxxxx
Sent: Thursday, February 28, 2013 10:30 PM
To: lyo-dev@xxxxxxxxxxx
Subject: lyo-dev Digest, Vol 19, Issue 13

Send lyo-dev mailing list submissions to
        lyo-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://dev.eclipse.org/mailman/listinfo/lyo-dev
or, via email, send a message with subject or body 'help' to
        lyo-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        lyo-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of lyo-dev digest..."


Today's Topics:

   1. Eclipse Lyo on ohloh.net (Michael Fiedler)


----------------------------------------------------------------------

Message: 1
Date: Wed, 27 Feb 2013 14:20:41 -0500
From: Michael Fiedler <fiedler.mf@xxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Subject: [lyo-dev] Eclipse Lyo on ohloh.net
Message-ID:
        <CAOvtq9hE+tcE12uVW4VKgGSz0iXaQ5Q15BYLj-kO7sq30kdDsg@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

You can find some interesting Lyo facts and statistics here:

https://www.ohloh.net/p/eclipselyo

Regards,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://dev.eclipse.org/mailman/private/lyo-dev/attachments/20130227/3dfd6a2
f/attachment.html>

------------------------------

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev


End of lyo-dev Digest, Vol 19, Issue 13
***************************************


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its
affiliates, including e-mail and instant messaging (including content), may
be scanned by our systems for the purposes of information security and
assessment of internal compliance with Accenture policy.

____________________________________________________________________________
__________

www.accenture.com

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev



Back to the top