Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2006 07:38:40 +0200
From:      "Simon Strandgaard" <neoneye@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   jdk14 cannot install on freebsd6.1
Message-ID:  <df1390cc0608062238r40b593t407fc2930d105981@mail.gmail.com>
In-Reply-To: <df1390cc0608051150n5eb96e7eh4950964e46ef498d@mail.gmail.com>
References:  <df1390cc0608051150n5eb96e7eh4950964e46ef498d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi java list,


Yesterday I installed freebsd  6.1 from scratch. I have never before
installed java on freebsd. However I cannot seem to figure out what
I am doing wrong.  Any ideas ?


Thanks :-)


--
Simon Strandgaard



> cd /usr/ports/java/jdk14
> sudo  make install clean
Password:
===>  jdk-1.4.2p8_3 :
 Due to licensing restrictions, certain files must be fetched manually.

 Please open http://www.sun.com/software/java2/download.html
 in a web browser and follow the "Download" link for the
 "Java 2 SDK 1.4.2".  You will be required to log in and register,
 but you can create an account on this page.  After registration and
 accepting the Sun Community Source License, download the
 SCSL Source file, j2sdk-1_4_2-src-scsl.zip and the
 SCSL Binaries file, j2sdk-1_4_2-bin-scsl.zip .

 In addition, please download the patchset, bsd-jdk14-patches-8.tar.gz, from
 http://www.eyesbeyond.com/freebsddom/java/jdk14.html.

 Please place the downloaded file(s) in /usr/ports/distfiles
 and restart the build.

.*** Error code 1

Stop in /usr/ports/java/jdk14.
>




> sudo mkdir distfiles
Password:
> pwd
/usr/ports/distfiles
> ls -la
total 51812
drwxr-xr-x   2 root  wheel       512 Aug  5 20:21 .
drwxr-xr-x  67 root  wheel      1536 Aug  5 20:21 ..
-rw-r--r--   1 root  wheel   1148395 Aug  5 20:21 bsd-jdk14-patches-8.tar.gz
-rw-r--r--   1 root  wheel   2513462 Aug  5 20:21 j2sdk-1_4_2-bin-scsl.zip
-rw-r--r--   1 root  wheel  49269919 Aug  5 20:21 j2sdk-1_4_2-src-scsl.zip
> cd /usr/ports/java/jdk14
> make install clean
===>  Vulnerability check disabled, database not found
mkdir: /usr/ports/java/jdk14/work: Permission denied
*** Error code 1 (ignored)

 You must have a version of FreeBSD later than 4.7-STABLE
 February 2003 or 5-CURRENT February 2003 to compile and
 use JDK 1.4.2.

*** Error code 1

Stop in /usr/ports/java/jdk14.
>



> uname -a
FreeBSD mydoom.neoneye.dk 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May
7 04:32:43 UTC 2006
root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>



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