Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2011 00:25:31 -0700
From:      =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= <nm.knife@gmail.com>
To:        freebsd-eclipse@freebsd.org
Subject:   Fwd: eclipse with openjdk7 ?
Message-ID:  <CAHi1JseGeSQmN7yQ4t45wBiV%2BKkcyxKECq-UL0zUTTD4um1MNA@mail.gmail.com>
In-Reply-To: <CAHi1JsdvhY_CUL0jO8id0i9Tujec0624PHdxy9iOBRQ7_CzrTA@mail.gmail.com>
References:  <CAHi1JsfofPB2JUB4varWrJJeJgB5swjyX9hWYL1D=JaWS6qA0w@mail.gmail.com> <4E4B6391.7010808@gmx.de> <CAHi1JsdvhY_CUL0jO8id0i9Tujec0624PHdxy9iOBRQ7_CzrTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

---------- Препратено съобщение ----------
От: Любомир Григоров <nm.knife@gmail.com>
Дата: 17 август 2011 00:25
Тема: Re: eclipse with openjdk7 ?
До: Thomas Gellekum <Thomas.Gellekum@gmx.de>


I tried compiling eclipse with both default openjdk6 and openjdk7 in
Makefile, fails both times. eclipse-devel fails with default Makefile,
haven't tried changing it.

I just want a working eclipse, I am using 8.2-STABLE

What is the best way to get it up and running?

The Java version used by Eclipse is currently hardcoded because it doesn't
> compile with all the (older) JDK6's out there. I guess nobody has tried to
> use JDK7 to compile and run eclipse so far.
>
> You can easily try the "run" part: set JAVA_HOME in your environment to
> /usr/local/openjdk7 and start the /usr/local/bin/eclipse (or eclipse-devel)
> script.
>
> As to "compile": set JAVA_VERSION to 1.6+ in eclipse-devel/Makefile (I
> don't think this will work with the main eclipse port, as it is still at
> 3.6.2) and rebuild. If OpenJDK7 is your default Java version, it should be
> picked up automatically.
>
> Note that you can always specify a JRE for your own projects in the Java
> preferences. JDT support for JDK7 features will arrive with 3.7.1 (due end
> of September, I think).
>
> tg
>



-- 
Lyubomir Grigorov (bgalakazam)




-- 
Lyubomir Grigorov (bgalakazam)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHi1JseGeSQmN7yQ4t45wBiV%2BKkcyxKECq-UL0zUTTD4um1MNA>