Eclipse and FreeBSD7

2008-01-18 Thread Nicolas Letellier

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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Eclipse and FreeBSD7

2008-01-18 Thread Jonathan Chen
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 <[EMAIL PROTECTED]>
---
"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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Eclipse and FreeBSD7

2008-01-18 Thread Wayne Sierke
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Eclipse and FreeBSD7

2008-01-19 Thread Jonathan Chen
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 <[EMAIL PROTECTED]>

"We laugh in the face of danger, we drop icecubes down the vest of fear"
 - Edmond Blackadder III
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Eclipse and FreeBSD7

2008-01-19 Thread Wayne Sierke
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Eclipse and FreeBSD7

2008-01-20 Thread Jonathan Chen
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 <[EMAIL PROTECTED]>
--
 "A person should be able to do a small bit of everything,
specialisation is for insects"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"