openjdk6 b17

View: New views
10 Messages — Rating Filter:   Alert me  

openjdk6 b17

by Brian Gardner-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everybody,
I've completed the port of openjdk6 from b16 to b17.  I've blogged  
about the upgrade here:
http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-javaopenjdk6-from-b16-to-b17/

You can download this port and test it before it is committed from:
http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz

To install the port:

cd /usr/ports/java
tar -xjf <path_to_tar_bundle>/openjdk6-b17.tar.gz
cd openjdk6-b17
make
I haven't done any testing yet and before I commit I would like to  
address the existing issue with poor font quality.

Please leave good or bad comments about your experience with the  
preliminary build on this mailing list or my blog, so we can speed the  
process of committing a more stable and up-to-date version of Java for  
FreeBSD.



Cheers!

Brian Gardner

------------------------------------------------------------
Brian Gardner | President + CEO

GETSNAPPY.COM

3591 Sacramento Dr., Suite 118
San Luis Obispo CA, 93401
805.706.0420 | 805.762.4326 fax

brian@...
http://www.getsnappy.com

Connect with me
Facebook | Twitter | LinkedIn


------------------------------------------------------------





_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by ken-106 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Doesn't this support -current?

I have the following error with -current.

  :            :             :             :
gmake[2]: Entering directory `/usr/ports/java/openjdk6-b17/work/hotspot/make'
Makefile:316: target `/Xusage.txt' given more than once in the same rule.
mkdir -p /usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir
cd /usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir; \
            gmake -f /usr/ports/java/openjdk6-b17/work/hotspot/make/bsd/Makefile \
                       LP64=1 JAVA_HOME=/usr/local/jdk1.6.0 OUTPUTDIR=/usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir GAMMADIR=/usr/ports/java/openjdk6-b17/work/hotspot MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=14.0-b16 JRE_RELEASE_VERSION=1.6.0-ken_31_oct_2009_10_46-b00 HOTSPOT_BUILD_VERSION= product
gmake[3]: Entering directory `/usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir'
gmake -f /usr/ports/java/openjdk6-b17/work/hotspot/make/bsd/Makefile checks
gmake[4]: Entering directory `/usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir'
>&2 echo "*** This OS is not supported:" `uname -a`; exit 1;
*** This OS is not supported: FreeBSD tyd3.sub.tydfam.jp 9.0-CURRENT FreeBSD 9.0-CURRENT #12: Sat Oct 17 01:01:12 JST 2009 root@...:/usr/obj/usr/src/sys/TYD3 amd64
gmake[4]: *** [check_os_version] Error 1
gmake[4]: Leaving directory `/usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir'
gmake[3]: *** [bsd_amd64_compiler2/debug] Error 2
   :                 :                 :                   :
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by Ronald Klop-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 30 Oct 2009 22:29:38 +0100, Brian Gardner <brian@...>  
wrote:

> Hi everybody,
> I've completed the port of openjdk6 from b16 to b17.  I've blogged about  
> the upgrade here:
> http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-javaopenjdk6-from-b16-to-b17/
>
> You can download this port and test it before it is committed from:
> http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz
>
> To install the port:
>
> cd /usr/ports/java
> tar -xjf <path_to_tar_bundle>/openjdk6-b17.tar.gz
> cd openjdk6-b17
> make
> I haven't done any testing yet and before I commit I would like to  
> address the existing issue with poor font quality.
>
> Please leave good or bad comments about your experience with the  
> preliminary build on this mailing list or my blog, so we can speed the  
> process of committing a more stable and up-to-date version of Java for  
> FreeBSD.

Hi,

Compiles and runs ok here on 8.0-RC2/amd64.
I have one issue, which I also had with openjdk6-b16. The local of  
non-english languages are not correct. They are correct in the jdk16 port.

         public static void main(String[] args) {
                 for (Locale l : new Locale[] { new Locale("nl"), new  
Locale("nl", "NL"), new Locale("fr") }) {
                         System.out.println("displayname: " +  
l.getDisplayName());
                         DecimalFormat nf =  
(DecimalFormat)NumberFormat.getNumberInstance(l);
                         final DecimalFormatSymbols decimalFormatSymbols =  
nf.getDecimalFormatSymbols();
                         System.out.println("decimal: " +  
decimalFormatSymbols.getDecimalSeparator());
                         System.out.println("grouping: " +  
decimalFormatSymbols.getGroupingSeparator());

                         SimpleDateFormat sdf = new SimpleDateFormat("G",  
l);
                         System.out.println("dateformat: " + sdf.format(new  
Date()));
                 }
         }

Openjdk6 gives:

displayname: Dutch
decimal: .
grouping: ,
dateformat: AD
displayname: Dutch (Netherlands)
decimal: .
grouping: ,
dateformat: AD
displayname: French
decimal: .
grouping: ,
dateformat: AD

jdk16 gives:
displayname: Dutch
decimal: ,
grouping: .
dateformat: AD
displayname: Dutch (Netherlands)
decimal: ,
grouping: .
dateformat: AD
displayname: French
decimal: ,
grouping:
dateformat: ap. J.-C.

The jdk16 stuff is better. I looked in the code, but can't really find  
where this info is.

Thanks for the hard work on porting this. Nice read in your blog also.

Ronald.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by tinca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 30 Oct 2009 14:29:38 -0700
Brian Gardner <brian@...> wrote:

> Hi everybody,
> I've completed the port of openjdk6 from b16 to b17.  I've blogged  
> about the upgrade here:
> http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-javaopenjdk6-from-b16-to-b17/
>
> You can download this port and test it before it is committed from:
> http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz
>
> To install the port:
>
> cd /usr/ports/java
> tar -xjf <path_to_tar_bundle>/openjdk6-b17.tar.gz
> cd openjdk6-b17
> make
> I haven't done any testing yet and before I commit I would like to  
> address the existing issue with poor font quality.
>
> Please leave good or bad comments about your experience with the  
> preliminary build on this mailing list or my blog, so we can speed
> the process of committing a more stable and up-to-date version of
> Java for FreeBSD.
>

Hi Brian,

Since a picture worth thousand words, here comes two :-)
The first screenshot is made using sun-jdk, the other one with the new
openjdk port.
http://i37.tinypic.com/mudhj7.png
http://i37.tinypic.com/350usyf.png

A lot of difference regarding font properties in various panels can be
seen: font size, type, emphasis, right margin (e.g. red line)

(Sorry for not giving high fidelty in other non-relevant aspects.)

IntelliJ's IDEA still looks bad. I can make similar screenshots in
case you need.

Thanks for your work!
Zsolt

------------
Zsolt Kúti
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've found a solution for the ugly font issue.  I'll be posting a new  
preliminary port later today, but here is a blog entry explaining my  
research and solution.

http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/freebsd-openjdk6-b17-font-issues/



On Nov 2, 2009, at 12:15 PM, Zsolt Kúti wrote:

> On Fri, 30 Oct 2009 14:29:38 -0700
> Brian Gardner <brian@...> wrote:
>
>> Hi everybody,
>> I've completed the port of openjdk6 from b16 to b17.  I've blogged
>> about the upgrade here:
>> http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-javaopenjdk6-from-b16-to-b17/
>>
>> You can download this port and test it before it is committed from:
>> http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz
>>
>> To install the port:
>>
>> cd /usr/ports/java
>> tar -xjf <path_to_tar_bundle>/openjdk6-b17.tar.gz
>> cd openjdk6-b17
>> make
>> I haven't done any testing yet and before I commit I would like to
>> address the existing issue with poor font quality.
>>
>> Please leave good or bad comments about your experience with the
>> preliminary build on this mailing list or my blog, so we can speed
>> the process of committing a more stable and up-to-date version of
>> Java for FreeBSD.
>>
>
> Hi Brian,
>
> Since a picture worth thousand words, here comes two :-)
> The first screenshot is made using sun-jdk, the other one with the new
> openjdk port.
> http://i37.tinypic.com/mudhj7.png
> http://i37.tinypic.com/350usyf.png
>
> A lot of difference regarding font properties in various panels can be
> seen: font size, type, emphasis, right margin (e.g. red line)
>
> (Sorry for not giving high fidelty in other non-relevant aspects.)
>
> IntelliJ's IDEA still looks bad. I can make similar screenshots in
> case you need.
>
> Thanks for your work!
> Zsolt
>
> ------------
> Zsolt Kúti
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>



------------------------------------------------------------
Brian Gardner | President + CEO

GETSNAPPY.COM

3591 Sacramento Dr., Suite 118
San Luis Obispo CA, 93401
805.706.0420 | 805.762.4326 fax

brian@...
http://www.getsnappy.com

Connect with me
Facebook | Twitter | LinkedIn


------------------------------------------------------------





_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by tinca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 3 Nov 2009 10:15:02 -0800
Brian Gardner <openjdk@...> wrote:

> I've found a solution for the ugly font issue.  I'll be posting a
> new preliminary port later today, but here is a blog entry explaining
> my research and solution.
>
> http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/freebsd-openjdk6-b17-font-issues/
Interesting reading and nice solution.
When the improved port is available I'll be in a hurry to try it out!

Thanks!
Zsolt


------------
Zsolt Kúti
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by Stephen McKay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday, 3rd November 2009, Brian Gardner wrote:

>I've found a solution for the ugly font issue.  I'll be posting a new
>preliminary port later today, but here is a blog entry explaining my
>research and solution.
>
>http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/freebsd-openjdk6-b17-font-issues/

Hi Brian!  Thanks for all the work you are doing on the java ports!

I'm keen to see the openjdk6 font problem solved and I've tried your
preliminary b17 port.

I've tried all the JDK ports available for FreeBSD (diablo-jdk1.6.0,
jdk1.6.0, linux-sun-jdk1.6.0, openjdk6).  All these except openjdk6 have
the same fontconfig.properties.  Openjdk6's is radically different, and
it's the one with serious font issues.  That could be a clue.

Even after I duplicated (most of) the tweaks you did to get the fonts
working with b17, there are still major font oddities.  I'm trying
Intellij on FreeBSD in an attempt to avoid using Linux for java
development and openjdk6 (b16 and b17) selects different fonts to what
I normally see and renders them poorly.

Also, of the available JDKs, the clear winner for running Intellij on
FreeBSD is the Linux JDK under the Linuxulator.  It's so much better
than the others, it's astounding.  Running Intellij on the Sun Linux JDK
feels 10x more responsive than any of the FreeBSD native JDK options.
Just moving the cursor is a pain on the native JDKs.  Puzzling, no?

I may just start a thread about this.  When I get a moment...

Stephen.
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by Brian Gardner-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I forgot to add it to me release notes, but this build issue is fixed  
in openjdk-b17 pre release 2:

http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-java-openjdk6-from-b16-to-b17/

Brian

On Oct 30, 2009, at 6:49 PM, ken wrote:

>  Doesn't this support -current?
>
> I have the following error with -current.
>
>  :            :             :             :
> gmake[2]: Entering directory `/usr/ports/java/openjdk6-b17/work/
> hotspot/make'
> Makefile:316: target `/Xusage.txt' given more than once in the same  
> rule.
> mkdir -p /usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/
> outputdir
> cd /usr/ports/java/openjdk6-b17/work/build/bsd-amd64/hotspot/
> outputdir; \
>    gmake -f /usr/ports/java/openjdk6-b17/work/hotspot/make/bsd/
> Makefile \
>       LP64=1 JAVA_HOME=/usr/local/jdk1.6.0 OUTPUTDIR=/usr/ports/
> java/openjdk6-b17/work/build/bsd-amd64/hotspot/outputdir GAMMADIR=/
> usr/ports/java/openjdk6-b17/work/hotspot MAKE_VERBOSE=y  
> HOTSPOT_RELEASE_VERSION=14.0-b16 JRE_RELEASE_VERSION=1.6.0-
> ken_31_oct_2009_10_46-b00 HOTSPOT_BUILD_VERSION= product
> gmake[3]: Entering directory `/usr/ports/java/openjdk6-b17/work/
> build/bsd-amd64/hotspot/outputdir'
> gmake -f /usr/ports/java/openjdk6-b17/work/hotspot/make/bsd/Makefile  
> checks
> gmake[4]: Entering directory `/usr/ports/java/openjdk6-b17/work/
> build/bsd-amd64/hotspot/outputdir'
>> &2 echo "*** This OS is not supported:" `uname -a`; exit 1;
> *** This OS is not supported: FreeBSD tyd3.sub.tydfam.jp 9.0-CURRENT  
> FreeBSD 9.0-CURRENT #12: Sat Oct 17 01:01:12 JST 2009 root@...
> :/usr/obj/usr/src/sys/TYD3 amd64
> gmake[4]: *** [check_os_version] Error 1
> gmake[4]: Leaving directory `/usr/ports/java/openjdk6-b17/work/build/
> bsd-amd64/hotspot/outputdir'
> gmake[3]: *** [bsd_amd64_compiler2/debug] Error 2
>   :                 :                 :                   :
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by Brian Gardner-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zsolt,
Did pre release 2 resolve the font issues with IntelliJ?

Brian

On Nov 2, 2009, at 12:15 PM, Zsolt Kúti wrote:

> On Fri, 30 Oct 2009 14:29:38 -0700
> Brian Gardner <brian@...> wrote:
>
>> Hi everybody,
>> I've completed the port of openjdk6 from b16 to b17.  I've blogged
>> about the upgrade here:
>> http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-javaopenjdk6-from-b16-to-b17/
>>
>> You can download this port and test it before it is committed from:
>> http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz
>>
>> To install the port:
>>
>> cd /usr/ports/java
>> tar -xjf <path_to_tar_bundle>/openjdk6-b17.tar.gz
>> cd openjdk6-b17
>> make
>> I haven't done any testing yet and before I commit I would like to
>> address the existing issue with poor font quality.
>>
>> Please leave good or bad comments about your experience with the
>> preliminary build on this mailing list or my blog, so we can speed
>> the process of committing a more stable and up-to-date version of
>> Java for FreeBSD.
>>
>
> Hi Brian,
>
> Since a picture worth thousand words, here comes two :-)
> The first screenshot is made using sun-jdk, the other one with the new
> openjdk port.
> http://i37.tinypic.com/mudhj7.png
> http://i37.tinypic.com/350usyf.png
>
> A lot of difference regarding font properties in various panels can be
> seen: font size, type, emphasis, right margin (e.g. red line)
>
> (Sorry for not giving high fidelty in other non-relevant aspects.)
>
> IntelliJ's IDEA still looks bad. I can make similar screenshots in
> case you need.
>
> Thanks for your work!
> Zsolt
>
> ------------
> Zsolt Kúti
> _______________________________________________
> freebsd-java@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-
> unsubscribe@..."
>

_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."

Re: openjdk6 b17

by tinca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 7 Nov 2009 11:41:28 -0800
Brian Gardner <openjdk@...> wrote:

> Zsolt,
> Did pre release 2 resolve the font issues with IntelliJ?
 
Hi Brian,

IntelliJ Idea (9-beta) still looks as before. Again, I made some
screenshots to visualize the problem.

The first two pic made by using sun-jdk, the last two with open one,
respectively. In each couple the second shot is made by changing the
defaul L&F to a different one in order to make the effect more
expressed.

http://i37.tinypic.com/33ww95u.png
http://i37.tinypic.com/33049qt.png
http://i35.tinypic.com/2zhmxpc.png
http://i35.tinypic.com/1onhmr.png

I have not, however, tried to install dejaVu font, were this as a
prerequisit.

Thank you!

Zsolt

>
> On Nov 2, 2009, at 12:15 PM, Zsolt Kúti wrote:
>
> > On Fri, 30 Oct 2009 14:29:38 -0700
> > Brian Gardner <brian@...> wrote:
> >
> >> Hi everybody,
> >> I've completed the port of openjdk6 from b16 to b17.  I've blogged
> >> about the upgrade here:
> >> http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-javaopenjdk6-from-b16-to-b17/
> >>
> >> You can download this port and test it before it is committed from:
> >> http://www.getsnappy.com/downloads/openjdk6-b17.tar.gz
> >>
> >> To install the port:
> >>
> >> cd /usr/ports/java
> >> tar -xjf <path_to_tar_bundle>/openjdk6-b17.tar.gz
> >> cd openjdk6-b17
> >> make
> >> I haven't done any testing yet and before I commit I would like to
> >> address the existing issue with poor font quality.
> >>
> >> Please leave good or bad comments about your experience with the
> >> preliminary build on this mailing list or my blog, so we can speed
> >> the process of committing a more stable and up-to-date version of
> >> Java for FreeBSD.
> >>
> >
> > Hi Brian,
> >
> > Since a picture worth thousand words, here comes two :-)
> > The first screenshot is made using sun-jdk, the other one with the
> > new openjdk port.
> > http://i37.tinypic.com/mudhj7.png
> > http://i37.tinypic.com/350usyf.png
> >
> > A lot of difference regarding font properties in various panels can
> > be seen: font size, type, emphasis, right margin (e.g. red line)
> >
> > (Sorry for not giving high fidelty in other non-relevant aspects.)
> >
> > IntelliJ's IDEA still looks bad. I can make similar screenshots in
> > case you need.
> >
> > Thanks for your work!
> > Zsolt
> >
> > ------------
> > Zsolt Kúti
> > _______________________________________________
> > freebsd-java@... mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to "freebsd-java-
> > unsubscribe@..."
> >
>


------------
Zsolt Kúti
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@..."