install java in free bsd

sorchanny sorchanny at chuanwei.com.kh
Mon Sep 7 02:44:40 UTC 2009


Dear Sir,

I still cannot start opennms system till now. I have the same problem like
before that I asked you. Now I don't know how to fix it, so please you
feeling free to tell me the way that to fix it clearly.

Thanks 

Channy


-----Original Message-----
From: Aryeh M. Friedman [mailto:aryeh.friedman at gmail.com] 
Sent: Tuesday, September 01, 2009 10:10 AM
To: sorchanny
Cc: freebsd-java at FreeBSD.org
Subject: Re: install java in free bsd

You need have a working JDK to install java/jdk16 and the standard one 
it looks for is java/diablo-jdk16

Diablo comes in binary form the FreeBSD Foundation and you need to 
download it (and one file from sun) [the URL's are in the error message] 
and then copy the file you downloaded to /usr/ports/disftiles and then 
rerun the make/portmaster stuff...

It will fail a second time on attempting to download the actual Sun 
JDK16 and give you more files you need to download and put in that dir.

BTW this assumes you specifically want the Sun JDK because Diablo is 
certified by Sun to be 100% complient with the 1.6 language 
definition.... there for you can use Diablo any place you whould use 
Sun's (to developers like me it matters but for users it shouldn't)

sorchanny wrote:
> Dear all,
>
>  
>
> According to I'm install a free bsd 7.2 and I want to install jdk16 in to
> this system but when I try to install it, I see some errors cannot
install.
>
>  
>
> openn2# make
>
> ===>   opennms-1.6.5 depends on executable: rrdtool - found
>
> ===>   opennms-1.6.5 depends on file:
> /usr/local/share/java/classes/jicmp.jar - not found
>
> ===>    Verifying install for /usr/local/share/java/classes/jicmp.jar in
> /usr/ports/net/jicmp
>
> ===>   jicmp-1.0.9 depends on file: /usr/local/diablo-jdk1.6.0/bin/java -
> not found
>
> ===>    Verifying install for /usr/local/diablo-jdk1.6.0/bin/java in
> /usr/ports/java/diablo-jdk16
>
> ===>  Vulnerability check disabled, database not found
>
> ===>  Found saved configuration for diablo-jdk-1.6.0.07.02_4
>
>  
>
>  Because of licensing restrictions, you must fetch the distribution
>
>  manually.
>
>  
>
>  Please access
>
>  
>
>  
>
http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-free
> bsd7-i386-1.6.0_07-b02.tar.bz2
>
>  
>
>  with a web browser and "Accept" the End User License Agreement for
>
>  "Caffe Diablo 1.6.0".
>
>  
>
>  Please open
>
>  
>
>      http://java.sun.com/javase/downloads/
>
>  
>
>  in a web browser and follow the "Download" link for "Java
>
>  Cryptography Extension (JCE) Unlimited Strength Jurisdiction
>
>  Policy Files 6" to obtain the JCE policy file, jce_policy-6.zip.
>
>  
>
>  Please open http://java.sun.com/javase/downloads/index.jsp
>
>  in a web browser and follow the "Download" link for
>
>  "JDK US DST Timezone Update Tool - 1_3_12" to obtain the
>
>  time zone update file, tzupdater-1_3_12-2009a.zip.
>
>  
>
>  Please place the downloaded file(s) in /usr/ports/distfiles.
>
>  
>
> *** Error code 1
>
>  
>
> Stop in /usr/ports/java/diablo-jdk16.
>
> *** Error code 1
>
>  
>
> Stop in /usr/ports/java/diablo-jdk16.
>
> *** Error code 1
>
>  
>
> Stop in /usr/ports/net/jicmp.
>
> *** Error code 1
>
>  
>
> Stop in /usr/ports/net-mgmt/opennms.
>
> openn2#
>
>  
>
> Thanks
>
>  
>
> Channy sor
>
> NOC-Technical Support officer
>
> ----------------------------------------------------
>
> Chuan Wei (Cambodia) Co., Ltd.
>
> Regency Square, Complex B, 2nd floor,
>
> No.8 B/294 Mao Tse Toung Blvd.,(245),
>
> Sangkat Tomnup Tuk, Khan Chamcar Mon,
>
> Phnom Penh, Kingdom of Cambodia.
>
> Mob:(855)12 597 001
>
> Phone:(855) 23 215 001
>
> Fax: (855) 23 215 008
>
> Email: sorchanny at chuanwei.com.kh
>
>  
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>
>   



More information about the freebsd-java mailing list