List Info

Thread: Re: JDK ports questions




Re: JDK ports questions
country flaguser name
Germany
2008-03-19 10:34:01
Achilleas Mantzios wrote:
 > Oliver Fromme wrote:
 > > What is the difference between
ports/java/diablo-jdk15
 > > and ports/java/jdk15?  Which of them should be
used?
 > 
 > ports/java/diablo-jdk15 is the ports way of installing
the
 > binary package, you can do the same with pkg_add -r.

I see.  So I basically get the same result as downloading
the package from freebsdfoundation.org (which is not what
I want).

Thanks for answering!

 > > So far I have only used the Sun-blessed binary
package
 > > from the FreeBSD foundation download page, so I
don't
 > > know much about the various ports.  However,
those
 > > packages are now quite old, so I would like to
build
 > > an up-to-date JDK for FreeBSD 7.  Which port
should
 > > be used for that?
 > 
 > For FreeBSD 7.0, you will have to install
misc/compat6x

But it's only required for the bootstrap, right?
I.e. when I have built the JDK successfully, I don't
need compat6x anymore, I assume.

Thinking about it ...  When I compile my own JDK anyway,
I could just as well go for the JDK 1.6 instead of 1.5.
Are there any known problems with building JDK 1.6 on
FreeBSD/amd64 7.0?  Anything I should be aware of?

The JDK is going to be used on several 8-core amd64
machines with 64 GB RAM to run tomcat-based CMS for a
very busy web site.  No need to say, stability is top-
priority.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29,
85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, 
Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister:
Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb,
Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd


"If Java had true garbage collection, most programs
would delete themselves upon execution."
        -- Robert Sewell
_______________________________________________
freebsd-javafreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java

To unsubscribe, send any mail to
"freebsd-java-unsubscribefreebsd.org"

Re: JDK ports questions
country flaguser name
United States
2008-03-19 10:55:44
???? WEDNESDAY 19 MARCH 2008 17:34:01 ?/? OLIVER FROMME
??????:
> ACHILLEAS MANTZIOS WROTE:
>  > OLIVER FROMME WROTE:
>  > > WHAT IS THE DIFFERENCE BETWEEN
PORTS/JAVA/DIABLO-JDK15
>  > > AND PORTS/JAVA/JDK15?  WHICH OF THEM SHOULD
BE USED?
>  > 
>  > PORTS/JAVA/DIABLO-JDK15 IS THE PORTS WAY OF
INSTALLING THE
>  > BINARY PACKAGE, YOU CAN DO THE SAME WITH PKG_ADD
-R.
> 
> I SEE.  SO I BASICALLY GET THE SAME RESULT AS
DOWNLOADING
> THE PACKAGE FROM FREEBSDFOUNDATION.ORG (WHICH IS NOT
WHAT
> I WANT).
> 
> THANKS FOR ANSWERING!
> 
>  > > SO FAR I HAVE ONLY USED THE SUN-BLESSED
BINARY PACKAGE
>  > > FROM THE FREEBSD FOUNDATION DOWNLOAD PAGE,
SO I DON'T
>  > > KNOW MUCH ABOUT THE VARIOUS PORTS.  HOWEVER,
THOSE
>  > > PACKAGES ARE NOW QUITE OLD, SO I WOULD LIKE
TO BUILD
>  > > AN UP-TO-DATE JDK FOR FREEBSD 7.  WHICH PORT
SHOULD
>  > > BE USED FOR THAT?
>  > 
>  > FOR FREEBSD 7.0, YOU WILL HAVE TO INSTALL
MISC/COMPAT6X
> 
> BUT IT'S ONLY REQUIRED FOR THE BOOTSTRAP, RIGHT?
> I.E. WHEN I HAVE BUILT THE JDK SUCCESSFULLY, I DON'T
> NEED COMPAT6X ANYMORE, I ASSUME.
> 

NO, THE DIABLO-JDK1.5.0 EXECUTABLE DEPENDS ON 
/USR/LOCAL/LIB/COMPAT/LIBPTHREAD.SO.2 WHICH IS IN
COMPAT6X-I386

BOOTSTRAP ISSUES EXIST WHEN YOU NEED E.G. A LINUX JDK IN
ORDER TO COMPILE
THE JAVA CLASSES OF THE FREEBSD NATIVE PORT. IN THAT CASE
YOU INSTALL THE
LINUX-JDK-WHATEVER, BUILD/INSTALL THE NATIVE PORT,
PKG_DEINTALL THE LINUX-JDK-...

FOR SOME REASON, NOW THAT I LOOK AT IT, COMPAT6X IS NOT
RECORDED AS
A PREREQUISITE FOR DIABLO-JDK1.5.0,
[ACHIXPANIX ~]% PKG_INFO -RR DIABLO-JDK-1.5.0.07.01_9
INFORMATION FOR DIABLO-JDK-1.5.0.07.01_9:

DEPENDS ON:
DEPENDENCY: XTRANS-1.0.4
DEPENDENCY: XPROTO-7.0.10_1
DEPENDENCY: XEXTPROTO-7.0.2
DEPENDENCY: JAVAVMWRAPPER-2.3
REQUIRED BY:
APACHE-ANT-1.7.0_1

IS THERE A PROBLEM, OR IS MY PKG DB BROKEN?

> THINKING ABOUT IT ...  WHEN I COMPILE MY OWN JDK
ANYWAY,
> I COULD JUST AS WELL GO FOR THE JDK 1.6 INSTEAD OF
1.5.
> ARE THERE ANY KNOWN PROBLEMS WITH BUILDING JDK 1.6 ON
> FREEBSD/AMD64 7.0?  ANYTHING I SHOULD BE AWARE OF?
> 
> THE JDK IS GOING TO BE USED ON SEVERAL 8-CORE AMD64
> MACHINES WITH 64 GB RAM TO RUN TOMCAT-BASED CMS FOR A
> VERY BUSY WEB SITE.  NO NEED TO SAY, STABILITY IS TOP-
> PRIORITY.
> 
> BEST REGARDS
>    OLIVER
> 



-- 
ACHILLEAS MANTZIOS

KOSOVO IS SERBIA FOR EVER
_______________________________________________
FREEBSD-JAVAFREEBSD.ORG MAILING LIST
HTTP://LISTS.FREEBSD.ORG/MAILMAN/LISTINFO/FREEBSD-JAVA
TO UNSUBSCRIBE, SEND ANY MAIL TO
"FREEBSD-JAVA-UNSUBSCRIBEFREEBSD.ORG"

Re: JDK ports questions
country flaguser name
Norway
2008-03-19 11:06:21
On Mar 19, 2008, at 16:34, Oliver Fromme wrote:
> Achilleas Mantzios wrote:
>> Oliver Fromme wrote:
>>> What is the difference between
ports/java/diablo-jdk15
>>> and ports/java/jdk15?  Which of them should be
used?
>>
>> ports/java/diablo-jdk15 is the ports way of
installing the
>> binary package, you can do the same with pkg_add
-r.
>
> I see.  So I basically get the same result as
downloading
> the package from freebsdfoundation.org (which is not
what
> I want).
>
> Thanks for answering!
>
>>> So far I have only used the Sun-blessed binary
package
>>> from the FreeBSD foundation download page, so I
don't
>>> know much about the various ports.  However,
those
>>> packages are now quite old, so I would like to
build
>>> an up-to-date JDK for FreeBSD 7.  Which port
should
>>> be used for that?
>>
>> For FreeBSD 7.0, you will have to install
misc/compat6x
>
> But it's only required for the bootstrap, right?
> I.e. when I have built the JDK successfully, I don't
> need compat6x anymore, I assume.
>
> Thinking about it ...  When I compile my own JDK
anyway,
> I could just as well go for the JDK 1.6 instead of
1.5.
> Are there any known problems with building JDK 1.6 on
> FreeBSD/amd64 7.0?  Anything I should be aware of?

Anecdotal evidence: We tried, for a short while, 1.6 on 6.3
for a very  
busy tomcat driven site, noticed no ill effects but also no 

immediately noticeable changes in system load, etc.


> The JDK is going to be used on several 8-core amd64
> machines with 64 GB RAM to run tomcat-based CMS for a
> very busy web site.  No need to say, stability is top-
> priority.

On comparable hardware (less RAM, though), and tomcat driven
apps, we  
saw a *real* improvement going to 7.0/1.6 from 6.3/1.5. If
the initial  
numbers hold up, we can cancel the next two rounds of
"throwing  
hardware at the problem" as traffic goes up.

Unfortunately, I have not yet repeated the 1.6 vs 1.5
experiment on 7.
And of course, different applications bring out different
parts of  
tomcat and the library stack, so your mileage may vary
wildly.

/Eirik

> Best regards
>   Oliver
>
> -- 
> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz
29, 85567 Grafing  
> b. M.
> Handelsregister: Registergericht Muenchen, HRA 74606,  

> Geschäftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister:
Registergericht  
> Mün-
> chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf
Erb, Ralf  
> Gebhart
>
> FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

>
> "If Java had true garbage collection, most
programs
> would delete themselves upon execution."
>        -- Robert Sewell
> _______________________________________________
> freebsd-javafreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java

> To unsubscribe, send any mail to "freebsd-java- 
> unsubscribefreebsd.org"
>

_______________________________________________
freebsd-javafreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java

To unsubscribe, send any mail to
"freebsd-java-unsubscribefreebsd.org"

Re: JDK ports questions
country flaguser name
United States
2008-03-20 03:01:57
???? WEDNESDAY 19 MARCH 2008 18:06:21 ?/? EIRIK ØVERBY
??????:
> ON MAR 19, 2008, AT 16:34, OLIVER FROMME WROTE:
> > ACHILLEAS MANTZIOS WROTE:
> >> OLIVER FROMME WROTE:
> >>> WHAT IS THE DIFFERENCE BETWEEN
PORTS/JAVA/DIABLO-JDK15
> >>> AND PORTS/JAVA/JDK15?  WHICH OF THEM
SHOULD BE USED?
> >>
> >> PORTS/JAVA/DIABLO-JDK15 IS THE PORTS WAY OF
INSTALLING THE
> >> BINARY PACKAGE, YOU CAN DO THE SAME WITH
PKG_ADD -R.
> >
> > I SEE.  SO I BASICALLY GET THE SAME RESULT AS
DOWNLOADING
> > THE PACKAGE FROM FREEBSDFOUNDATION.ORG (WHICH IS
NOT WHAT
> > I WANT).
> >
> > THANKS FOR ANSWERING!
> >
> >>> SO FAR I HAVE ONLY USED THE SUN-BLESSED
BINARY PACKAGE
> >>> FROM THE FREEBSD FOUNDATION DOWNLOAD PAGE,
SO I DON'T
> >>> KNOW MUCH ABOUT THE VARIOUS PORTS. 
HOWEVER, THOSE
> >>> PACKAGES ARE NOW QUITE OLD, SO I WOULD
LIKE TO BUILD
> >>> AN UP-TO-DATE JDK FOR FREEBSD 7.  WHICH
PORT SHOULD
> >>> BE USED FOR THAT?
> >>
> >> FOR FREEBSD 7.0, YOU WILL HAVE TO INSTALL
MISC/COMPAT6X
> >
> > BUT IT'S ONLY REQUIRED FOR THE BOOTSTRAP, RIGHT?
> > I.E. WHEN I HAVE BUILT THE JDK SUCCESSFULLY, I
DON'T
> > NEED COMPAT6X ANYMORE, I ASSUME.
> >
> > THINKING ABOUT IT ...  WHEN I COMPILE MY OWN JDK
ANYWAY,
> > I COULD JUST AS WELL GO FOR THE JDK 1.6 INSTEAD OF
1.5.
> > ARE THERE ANY KNOWN PROBLEMS WITH BUILDING JDK 1.6
ON
> > FREEBSD/AMD64 7.0?  ANYTHING I SHOULD BE AWARE
OF?
> 
> ANECDOTAL EVIDENCE: WE TRIED, FOR A SHORT WHILE, 1.6 ON
6.3 FOR A VERY  
> BUSY TOMCAT DRIVEN SITE, NOTICED NO ILL EFFECTS BUT
ALSO NO  
> IMMEDIATELY NOTICEABLE CHANGES IN SYSTEM LOAD, ETC.
> 
> 
> > THE JDK IS GOING TO BE USED ON SEVERAL 8-CORE
AMD64
> > MACHINES WITH 64 GB RAM TO RUN TOMCAT-BASED CMS
FOR A
> > VERY BUSY WEB SITE.  NO NEED TO SAY, STABILITY IS
TOP-
> > PRIORITY.
> 
> ON COMPARABLE HARDWARE (LESS RAM, THOUGH), AND TOMCAT
DRIVEN APPS, WE  
> SAW A *REAL* IMPROVEMENT GOING TO 7.0/1.6 FROM 6.3/1.5.
IF THE INITIAL  
> NUMBERS HOLD UP, WE CAN CANCEL THE NEXT TWO ROUNDS OF
"THROWING  
> HARDWARE AT THE PROBLEM" AS TRAFFIC GOES UP.
> 
THE 6.3->7.0 ALONE ALREADY MAKES A BIG DIFFERENCE.
> UNFORTUNATELY, I HAVE NOT YET REPEATED THE 1.6 VS 1.5
EXPERIMENT ON 7.
IF YOU DO THIS TEST, WOULD BE GOOD TO KNOW.
> AND OF COURSE, DIFFERENT APPLICATIONS BRING OUT
DIFFERENT PARTS OF  
> TOMCAT AND THE LIBRARY STACK, SO YOUR MILEAGE MAY VARY
WILDLY.
> 
> /EIRIK
> 
> > BEST REGARDS
> >   OLIVER
> >
> > -- 
> > OLIVER FROMME, SECNETIX GMBH & CO. KG,
MARKTPLATZ 29, 85567 GRAFING  
> > B. M.
> > HANDELSREGISTER: REGISTERGERICHT MUENCHEN, HRA
74606,   
> > GESCH?TSFUEHRUNG:
> > SECNETIX VERWALTUNGSGESELLSCH. MBH,
HANDELSREGISTER: REGISTERGERICHT  
> > M?-
> > CHEN, HRB 125758,  GESCH?TSF?RER: MAIK BACHMANN,
OLAF ERB, RALF  
> > GEBHART
> >
> > FREEBSD-DIENSTLEISTUNGEN, -PRODUKTE UND MEHR: 
HTTP://WWW.SECNETIX.DE/BSD
> >
> > "IF JAVA HAD TRUE GARBAGE COLLECTION, MOST
PROGRAMS
> > WOULD DELETE THEMSELVES UPON EXECUTION."
> >        -- ROBERT SEWELL
> > _______________________________________________
> > FREEBSD-JAVAFREEBSD.ORG MAILING LIST
> >
HTTP://LISTS.FREEBSD.ORG/MAILMAN/LISTINFO/FREEBSD-JAVA
> > TO UNSUBSCRIBE, SEND ANY MAIL TO
"FREEBSD-JAVA- 
> > UNSUBSCRIBEFREEBSD.ORG"
> >
> 
> _______________________________________________
> FREEBSD-JAVAFREEBSD.ORG MAILING LIST
> HTTP://LISTS.FREEBSD.ORG/MAILMAN/LISTINFO/FREEBSD-JAVA
> TO UNSUBSCRIBE, SEND ANY MAIL TO
"FREEBSD-JAVA-UNSUBSCRIBEFREEBSD.ORG"
> 



-- 
ACHILLEAS MANTZIOS

KOSOVO IS SERBIA FOR EVER
_______________________________________________
FREEBSD-JAVAFREEBSD.ORG MAILING LIST
HTTP://LISTS.FREEBSD.ORG/MAILMAN/LISTINFO/FREEBSD-JAVA
TO UNSUBSCRIBE, SEND ANY MAIL TO
"FREEBSD-JAVA-UNSUBSCRIBEFREEBSD.ORG"

Re: JDK ports questions
country flaguser name
Australia
2008-03-20 15:43:11
On Wed, Mar 19, 2008 at 05:55:44PM +0200, Achilleas Mantzios
wrote:
> ???????? Wednesday 19 March 2008 17:34:01 ??/?? Oliver
Fromme ????????????:
> > Achilleas Mantzios wrote:
> >  > Oliver Fromme wrote:
> >  > > What is the difference between
ports/java/diablo-jdk15
> >  > > and ports/java/jdk15?  Which of them
should be used?
> >  > 
> >  > ports/java/diablo-jdk15 is the ports way of
installing the
> >  > binary package, you can do the same with
pkg_add -r.
> > 
> > I see.  So I basically get the same result as
downloading
> > the package from freebsdfoundation.org (which is
not what
> > I want).
> > 
> > Thanks for answering!
> > 
> >  > > So far I have only used the Sun-blessed
binary package
> >  > > from the FreeBSD foundation download
page, so I don't
> >  > > know much about the various ports. 
However, those
> >  > > packages are now quite old, so I would
like to build
> >  > > an up-to-date JDK for FreeBSD 7.  Which
port should
> >  > > be used for that?
> >  > 
> >  > For FreeBSD 7.0, you will have to install
misc/compat6x
> > 
> > But it's only required for the bootstrap, right?
> > I.e. when I have built the JDK successfully, I
don't
> > need compat6x anymore, I assume.
> > 
> 
> No, the diablo-jdk1.5.0 executable depends on 
> /usr/local/lib/compat/libpthread.so.2 which is in
compat6x-i386
> 
> Bootstrap issues exist when you need e.g. a linux jdk
in order to compile
> the java classes of the FreeBSD native port. In that
case you install the
> linux-jdk-whatever, build/install the native port,
pkg_deintall the linux-jdk-...
> 
> For some reason, now that i look at it, compat6x is not
recorded as
> a prerequisite for diablo-jdk1.5.0,

If you installed with the packages from the Foundation site
rather than
the port then those packages were rolled on a 6.x machine
before 7.0
existed, so naturally they wouldn't have that dependency.

-- 
Greg Lewis                          Email   : glewiseyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewisFreeBSD.org
_______________________________________________
freebsd-javafreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java

To unsubscribe, send any mail to
"freebsd-java-unsubscribefreebsd.org"

Re: JDK ports questions
country flaguser name
Australia
2008-03-20 15:47:12
On Wed, Mar 19, 2008 at 05:06:21PM +0100, Eirik ?verby
wrote:
> On Mar 19, 2008, at 16:34, Oliver Fromme wrote:
> >Achilleas Mantzios wrote:
> >>Oliver Fromme wrote:
> >>>What is the difference between
ports/java/diablo-jdk15
> >>>and ports/java/jdk15?  Which of them should
be used?
> >>
> >>ports/java/diablo-jdk15 is the ports way of
installing the
> >>binary package, you can do the same with
pkg_add -r.
> >
> >I see.  So I basically get the same result as
downloading
> >the package from freebsdfoundation.org (which is
not what
> >I want).
> >
> >Thanks for answering!
> >
> >>>So far I have only used the Sun-blessed
binary package
> >>>from the FreeBSD foundation download page,
so I don't
> >>>know much about the various ports. 
However, those
> >>>packages are now quite old, so I would like
to build
> >>>an up-to-date JDK for FreeBSD 7.  Which
port should
> >>>be used for that?
> >>
> >>For FreeBSD 7.0, you will have to install
misc/compat6x
> >
> >But it's only required for the bootstrap, right?
> >I.e. when I have built the JDK successfully, I
don't
> >need compat6x anymore, I assume.
> >
> >Thinking about it ...  When I compile my own JDK
anyway,
> >I could just as well go for the JDK 1.6 instead of
1.5.
> >Are there any known problems with building JDK 1.6
on
> >FreeBSD/amd64 7.0?  Anything I should be aware of?
> 
> Anecdotal evidence: We tried, for a short while, 1.6 on
6.3 for a very  
> busy tomcat driven site, noticed no ill effects but
also no  
> immediately noticeable changes in system load, etc.
> 
> 
> >The JDK is going to be used on several 8-core
amd64
> >machines with 64 GB RAM to run tomcat-based CMS for
a
> >very busy web site.  No need to say, stability is
top-
> >priority.
> 
> On comparable hardware (less RAM, though), and tomcat
driven apps, we  
> saw a *real* improvement going to 7.0/1.6 from 6.3/1.5.
If the initial  
> numbers hold up, we can cancel the next two rounds of
"throwing  
> hardware at the problem" as traffic goes up.
> 
> Unfortunately, I have not yet repeated the 1.6 vs 1.5
experiment on 7.
> And of course, different applications bring out
different parts of  
> tomcat and the library stack, so your mileage may vary
wildly.

1.6 is showing performance improvements over 1.5 here at
work.
Unfortunately thats on Linux rather than FreeBSD :(.

-- 
Greg Lewis                          Email   : glewiseyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewisFreeBSD.org
_______________________________________________
freebsd-javafreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java

To unsubscribe, send any mail to
"freebsd-java-unsubscribefreebsd.org"

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )