Opened 20 years ago

Closed 19 years ago

Last modified 16 years ago

#1048 closed defect (fixed)


Reported by: DJ Lucas Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc: LFS-User@…, schwinge-blfs-bugzilla@…


JDK-1.5.0 is out, rebadged 5.0 IIUC. Both source and binary availible. The new JRL (Java Research License) for source code has a mention of personal use. This should be suitable for most BLFSers, and is a lot easier to read than the old SCSL. Needs some additional patches yet.

Change History (11)

comment:1 by Randy McMurchy, 20 years ago

Cc: LFS-User@… added

* Bug 798 has been marked as a duplicate of this bug. *

comment:2 by DJ Lucas, 20 years ago

I've got patches and instructions (which haven't changed much) ready, but I'm leaning towards a post 6.0 to give time for the broken apps to catch up. This will not compile with gcc-3.4.1, but 3.3.* and 3.4.{2,3} should be fine. Also, I've still not fixed the 'waiters' demo, so it's just removed with the current 'remove_broken_demo' patch (only needed for 3.4.x), but it really should be fixed and just added to the current gcc patch.

comment:3 by schwinge-blfs-bugzilla@…, 20 years ago

Cc: schwinge-blfs-bugzilla@… added

comment:4 by DJ Lucas, 19 years ago

A reminder for after BLFS-6.0:

Current GCC patch doesn't fix java plugin for mozilla/firefox.


Java process caught exception: java.lang.UnsatisfiedLinkError: /usr/j2sdk/j2sdk-1.5.0/jre/lib/i386/ /usr/j2sdk/j2sdk-1.5.0/jre/lib/i386/ undefined symbol: u_getDirection

j2se/src/share/native/sun/font/bidi/{jbidi.c,uchardir.{c,h}} are the only files that contain 'u_getDirection'. Will need to look at 1.4.2's j2se/src/share/native/sun/awt/font/bidi/ to see the changes and why...I don't know just yet wether upstream is a viable option under the new licensing terms.

comment:5 by Randy McMurchy, 19 years ago

Before this version is introduced to the BLFS book, we should probably ensure we can build FOP against it. Last time I tried, there were many many errors. I built a patch for the 'enum' stuff, but then it crashed on other errors, which I was just too lazy to spend the time on.

Hopefully, there will be a new version of FOP released that will build against JDK-5.0

comment:6 by Randy McMurchy, 19 years ago

Milestone: future6.1
rep_platform: PCAll

Additional Notes:

  1. Confirmed build using GCC-3.4.3 using all the patches in the LFS repo.
  2. Though the Sun build instructions say to use a 1.4.2 version for the

bootstrap, I used the binary and it built just fine.

  1. The binary 1.5.0 version will install .icons and .gnome directories

containing GNOME application info, mime info and icons in the home dir of the user installing the binary JDK. Also installed is a .mime.types and .mailcap file. Perhaps this should be annotated in the book, so builders can tar up these dirs/files and install them to other user's home dirs.

  1. No need to set a PATH_HOLD var, as GCC-3.3.x is no longer required.
  2. I did not confirm, or check out the JRE Netscape plugin as I don't

have a browser installed yet on my test system.

  1. No other changes noted to the build instructions.

comment:7 by DJ Lucas, 19 years ago

Status: newassigned

comment:8 by DJ Lucas, 19 years ago

FOP and OpenOffice should be good now. Just waiting for someone other than myself to verify before entering into the book.

I do not have the .gnome/* or .icons/* files from the binary install? .mime-types is there. Need still to look at what differs. Guess only: perhaps if an existing install is present, these files will not be installed? My original /root and /home/* directories have been gone for a long time.

comment:9 by Randy McMurchy, 19 years ago

I can confirm the JDK and FOP installation work perfectly. There are still some minor enum issues with some obscure packages, though I don't think any BLFS packages.

If you're good with OpenOffice, DJ, I say go ahead with the update. The sooner we can get the build instructions updated, the sooner folks can be testing and providing additional confirmation.

comment:10 by DJ Lucas, 19 years ago

Resolution: fixed
Status: assignedclosed

comment:11 by (none), 16 years ago

Milestone: 6.1

Milestone 6.1 deleted

Note: See TracTickets for help on using tickets.