Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Eclipse and FreeBSD7

1 view
Skip to first unread message

Nicolas Letellier

unread,
Jan 18, 2008, 3:40:39 PM1/18/08
to FreeBSD Questions
Hello,

I have a problem with FreeBSD7 and the last Eclipse. It doesn't work. I
have this error when I launch :

JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar
-os freebsd
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 1000b
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar

I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115)
which says that the last version has corrected the problem (3.2.2_1).
But the problem is the same. The new version doesn't install jdk*.
I just installed diablo.

What must I do ?

Nicolas

Jonathan Chen

unread,
Jan 18, 2008, 5:58:07 PM1/18/08
to Nicolas Letellier, FreeBSD Questions
On Fri, Jan 18, 2008 at 09:40:39PM +0100, Nicolas Letellier wrote:

[...]


> I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115)
> which says that the last version has corrected the problem (3.2.2_1).
> But the problem is the same. The new version doesn't install jdk*.
> I just installed diablo.

Eclipse will only work with the native-jdk. Use your installed
diablo-jdk to build the native-jdk, and then remove the diablo-jdk.
--
Jonathan Chen <jo...@chen.org.nz>
-----------------------------------------------------------------------
"One, with God, is always a majority, but many a martyr has been burned
at the stake while the votes were being counted." -- Thomas B. Reed

Wayne Sierke

unread,
Jan 19, 2008, 2:06:17 AM1/19/08
to Jonathan Chen, Nicolas Letellier, FreeBSD Questions
On Sat, 2008-01-19 at 11:58 +1300, Jonathan Chen wrote:
> On Fri, Jan 18, 2008 at 09:40:39PM +0100, Nicolas Letellier wrote:
>
> [...]
> > I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115)
> > which says that the last version has corrected the problem (3.2.2_1).
> > But the problem is the same. The new version doesn't install jdk*.
> > I just installed diablo.
>
> Eclipse will only work with the native-jdk. Use your installed
> diablo-jdk to build the native-jdk, and then remove the diablo-jdk.

Does that only apply for 7.0 and/or eclipse-3.2? I previously had
eclipse-3.3 (eclipse-devel) running with diablo-jdk-1.5.0.07.01 on
RELENG_6.

eclipse is one of the few remaining ports I've yet to update since
moving this box to RELENG_7. It actually did get put through a
portupgrade cycle but I neglected to have WITHOUT_MOZILLA set which
seems to be necessary for eclipse to run on FreeBSD.


Wayne

Jonathan Chen

unread,
Jan 19, 2008, 6:02:20 AM1/19/08
to Wayne Sierke, Nicolas Letellier, FreeBSD Questions
On Sat, Jan 19, 2008 at 05:36:17PM +1030, Wayne Sierke wrote:
> On Sat, 2008-01-19 at 11:58 +1300, Jonathan Chen wrote:
> > On Fri, Jan 18, 2008 at 09:40:39PM +0100, Nicolas Letellier wrote:
> >
> > [...]
> > > I saw this page (http://www.freebsd.org/cgi/query-pr.cgi?pr=118115)
> > > which says that the last version has corrected the problem (3.2.2_1).
> > > But the problem is the same. The new version doesn't install jdk*.
> > > I just installed diablo.
> >
> > Eclipse will only work with the native-jdk. Use your installed
> > diablo-jdk to build the native-jdk, and then remove the diablo-jdk.
>
> Does that only apply for 7.0 and/or eclipse-3.2? I previously had
> eclipse-3.3 (eclipse-devel) running with diablo-jdk-1.5.0.07.01 on
> RELENG_6.

According to the commit message on the eclipse port, this would apply
to FreeBSD 7.x and higher.

Cheers.
--
Jonathan Chen <jo...@chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
- Edmond Blackadder III

Wayne Sierke

unread,
Jan 19, 2008, 10:30:01 PM1/19/08
to Jonathan Chen, FreeBSD Questions
On Sun, 2008-01-20 at 00:02 +1300, Jonathan Chen wrote:
> On Sat, Jan 19, 2008 at 05:36:17PM +1030, Wayne Sierke wrote:
> > On Sat, 2008-01-19 at 11:58 +1300, Jonathan Chen wrote:
> > > Eclipse will only work with the native-jdk. Use your installed
> > > diablo-jdk to build the native-jdk, and then remove the diablo-jdk.
> >
> > Does that only apply for 7.0 and/or eclipse-3.2? I previously had
> > eclipse-3.3 (eclipse-devel) running with diablo-jdk-1.5.0.07.01 on
> > RELENG_6.
>
> According to the commit message on the eclipse port, this would apply
> to FreeBSD 7.x and higher.
>

Missed it by *that* much. My ports tree was one day older than the
commit.

Thanks for the pointer.


Wayne

Jonathan Chen

unread,
Jan 20, 2008, 1:02:03 PM1/20/08
to Nicolas Letellier, freebsd-...@freebsd.org
On Sun, Jan 20, 2008 at 10:54:52AM +0100, Nicolas Letellier wrote:
> Jonathan Chen wrote:
> >On Sat, Jan 19, 2008 at 08:18:39PM +0100, Nicolas Letellier wrote:
> >
> >>Jonathan Chen a écrit :
> >>
> >>>On Sat, Jan 19, 2008 at 02:03:34PM +0100, Nicolas Letellier wrote:
> >>>
> >>>
> >>>>Hello,
> >>>>
> >>>>How build the native jdk ?
> >>>>
> >>>>
> >>>Install the diablo-jdk,
> >>>
> >>> # cd /usr/ports/java/jdk15
> >>> # make install clean
> >>>
> >>>Then pkg_delete the diablo-jdk.
> >>>
> >>>
> >>>
> >>Why must I install diablo-jdk and after delete it?
> >>
> >
> >If you don't, javavmwrapper in /usr/local/bin will pick up the diablo-jdk
> >when you invoke java instead of the native-version.
> >
> So :
> portinstall diablo-jdk15
> portinstall jdk15
> pkg_delete diablo-jdk15
> portinstall eclipse
>
> is that all ?

That should work. Go ahead and give it a go.

Cheers.
--
Jonathan Chen <jo...@chen.org.nz>
----------------------------------------------------------------------

"A person should be able to do a small bit of everything,
specialisation is for insects"

0 new messages