From owner-freebsd-eclipse@FreeBSD.ORG Wed Aug 17 07:25:32 2011 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC4811065672 for ; Wed, 17 Aug 2011 07:25:32 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 97E598FC12 for ; Wed, 17 Aug 2011 07:25:32 +0000 (UTC) Received: by iye7 with SMTP id 7so2511170iye.17 for ; Wed, 17 Aug 2011 00:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0q/li/ANgWmllvJSFXNySW99BjCEZyQ3OTJgu2Xi1nA=; b=hgT2KSMiqkTW3H91JpL/2T9UE2XbouxoYv6Br0x0RoaPipAKU7fwx1DtZLMp31xyK8 iTjyVnowqBu3Eq2irHGoxX1aggtBZinHEgfjWcdyDgPVs/MLPIIjzwA2OeD9gNLqnKOV EtOWGrRx3fRarotL4Auzzms+oFX178E7Wzxv8= MIME-Version: 1.0 Received: by 10.231.27.233 with SMTP id j41mr1418900ibc.77.1313565932031; Wed, 17 Aug 2011 00:25:32 -0700 (PDT) Received: by 10.231.155.85 with HTTP; Wed, 17 Aug 2011 00:25:31 -0700 (PDT) In-Reply-To: References: <4E4B6391.7010808@gmx.de> Date: Wed, 17 Aug 2011 00:25:31 -0700 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: eclipse with openjdk7 ? X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 07:25:32 -0000 ---------- =CF=F0=E5=EF=F0=E0=F2=E5=ED=EE =F1=FA=EE=E1=F9=E5=ED=E8=E5 -----= ----- =CE=F2: =CB=FE=E1=EE=EC=E8=F0 =C3=F0=E8=E3=EE=F0=EE=E2 =C4=E0=F2=E0: 17 =E0=E2=E3=F3=F1=F2 2011 00:25 =D2=E5=EC=E0: Re: eclipse with openjdk7 ? =C4=EE: Thomas Gellekum 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 t= o > 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-deve= l) > 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 b= e > 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 en= d > of September, I think). > > tg > --=20 Lyubomir Grigorov (bgalakazam) --=20 Lyubomir Grigorov (bgalakazam)