jdk 1.4

Bill Vermillion bv at wjv.com
Tue Jun 8 06:05:27 GMT 2004


On or about Mon, Jun 07, 2004 at 18:27 , while attempting a 
Zarathustra emulation Ethan Killian thus spake:

> Bill,

> I have been working on an Eclipse 3.0 port so I just installed a fresh 
> install of Java today on my 4.10 FreeBSD Box.  It did originally crash 
> because I did not run the following first:

> kldload linprocfs
> mount -t linprocfs linprocfs /compat/linux/proc

I've done both of those.

> Once these are loaded though, I did a 'make clean' and then
> 'make install' from the /usr/ports/java/jdk14/ directory and
> it completed. The thing catch is that you will also have to
> download the j2sdk-1_4_2_04-linux-i586.bin file. This applies to
> my previous email that I forgot to include. Basically to build
> the native port, it uses the linux binary to help with the build
> process.

I've also done that.  The docs do say that you have to have Java
running to bootstrap the jdk14 and the boostrap of choice is the
sun-linux with the above *586* name you have listed above.


> So, first run:
> 
> kldload linprocfs
> mount -t linprocfs linprocfs /compat/linux/proc

kldload linprocfs gives "can't load linproc fs: file exist"

Here is mount output

/dev/ad0s2a on / (ufs, local)
/dev/ad0s2g on /usr (ufs, local, noatime, soft-updates)
/dev/ad0s2f on /usr2 (ufs, local, soft-updates)
/dev/ad0s2e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
linprocfs on /usr/compat/linux/proc (linprocfs, local)

> Make sure you have all 4 files (in /usr/ports/distfiles)

> j2sdk-1_4_2_04-linux-i586.bin
> <>j2sdk-1_4_2-src-scsl.zip
> j2sdk-1_4_2-bin-scsl.zip
> bsd-jdk14-patches-6.tar.gz

All there.

> Run 'make install' from the /usr/ports/java/jdk14/

> If you are missing some of the files, it should tell you what
> you need to get and where to place the file. This port is
> difficult to get installed because you have to manually fetch
> the files and register with sun.com to get them. It did work
> for me today however when I installed this from scratch. If you
> still get failures paste the error.

> And I am running a Generic 4.10 kernel on the box I got the jdk14 
> installed on today.

My kernel is almost GENERIC - and it was built on Friday when I had
the problems. I did a complete removal of /usr/src and /usr/obj.

I just did a make clean in jdk14. And reran it.

I'll inlcude the tail end of the failur here.  I ran this under
script, and there are 8100 lines of output.  I'll just include the
last few lines here.  It always fails on the linux-sun thing.

======================================================================
===>  Extracting for linux-sun-jdk-1.4.2.04
>> Checksum OK for j2sdk-1_4_2_04-linux-i586.bin.
===>   linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found
Bad system call (core dumped)
*** Error code 140

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk14.
root at bilver.wjv.com# t
/bin/ksh: t: not found [No such file or directory]
root at bilver.wjv.com# exit

Script done on Tue Jun  8 01:58:39 2004

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

I just had a thought and about a year ago I had problems with Bison
building under the KSH I had and an update fixed that.

I'm now running the jdk14 under csh after editing the master
password and logging and in to make sure all the ksh stuff is gone.
I'll see if that works.

Nope. Failed at the ame place with a Bad System call right after
the libc.so.6

Any other information you want?


-- 
Bill Vermillion - bv @ wjv . com


More information about the freebsd-java mailing list