Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 18:56:28 +0800
From:      "Peter Ryan" <pryan@singnet.com.sg>
To:        "'Matthew Seaman'" <m.seaman@infracaninophile.co.uk>
Cc:        'FreeBSD' <freebsd-questions@freebsd.org>
Subject:   RE: java jdk14 install - cannot find file
Message-ID:  <200407301056.i6UAur97009316@northgate.starhub.net.sg>
In-Reply-To: <20040730100954.GC1956@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot Mathew,

I have the 3 files you first mentioned,
and, yes, I have the linux compatabilty set.

I will try the cvsup and see if that sorts things out.

I'm glad to hear others find this java installation
far from simple.

Many thanks
Peter

> > 
> > When i do the "Make", it aborts with an error.
> > It cannot find the file I just downloaded.
> 
> The distfiles the java/jdk14 port is looking for are:
> 
>     % make -V DISTFILES
>     j2sdk-1_4_2-src-scsl.zip j2sdk-1_4_2-bin-scsl.zip 
> bsd-jdk14-patches-6.tar.gz
> 
> The first two of those should come from Sun's website, and 
> the third from the eyesbeyond.com site.
> 
> What you've got is the distfile for the java/linux-sun-jdk14 
> port, which is required to bootstrap building the native 
> java/jdk14 port.
> (You only need the java/linux-sun-jdk14 port the first time you build
> java/jdk14: after that you can use it to rebuild itself: just 
> set NATIVE_BOOTSTRAP=yes in the make(1) argument list)
> 
> Actually, you haven't got quite the right distfile even now. It should
> be:
> 
>     % make -V DISTFILES
>     j2sdk-1_4_2_05-linux-i586.bin
> 
> (ie Patch level 05 rather than 04).  Re-cvsup to make sure 
> your ports tree is up to date, then:
> 
>     # cd /usr/ports/java/linux-sun-jdk14
>     # make install
> 
> Assuming you'ld already got linux compatability mode enabled 
> -- if you didn't before, it will be installed as a 
> dependency.  You may well need to reboot around this point to 
> get that working properly.
> 
>     # cd ../jdk14
>     # make install
> 
> and follow the instructions it prints out about how to get 
> hold of the source code.  Once you've got the native JDK 
> installed, you can, if you wish, delete linux-sun-jdk14, but 
> having it installed does no real harm other than taking up diskspace.
> 
> Yes, it is inordinately complicated to install a native JDK 
> from source.  Blame Sun -- it's their licensing restrictions 
> that mean this whole rigmarole is required.
> 
> 	Cheers,
> 
> 	Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
>                                                       Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
> Tel: +44 1628 476614                                  Bucks., 
> SL7 1TH UK
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407301056.i6UAur97009316>