Todd Sefcik
Cadet
- Joined
- Jan 15, 2015
- Messages
- 3
I have looked for the past 2 days on FreeBSD and FreeNAS on how to install Java in a jail on 9.3 stable. And, Have not found a JRE/JDK that works. Guides written for 9.1 and for minecraft and all the other flavors I can not get a complete 'make' to install Java.
My goal is to get Java installed in a Jail and then install 'openHAB' in that Jail. But, I am not well versed in 'make' installs in Linux to get past the last error.
And, I could be trying to do this the whole wrong way please let me know.
Hopefully, Someone can get me around this problem.
I am using this port as a base because it is the closest to installing Java: http://www.freshports.org/java/openjdk7
Thanks in advanced.
My goal is to get Java installed in a Jail and then install 'openHAB' in that Jail. But, I am not well versed in 'make' installs in Linux to get past the last error.
And, I could be trying to do this the whole wrong way please let me know.
Hopefully, Someone can get me around this problem.
I am using this port as a base because it is the closest to installing Java: http://www.freshports.org/java/openjdk7
Code:
root@openHAB:/usr/ports/java/openjdk7 # cd /usr/ports/java/openjdk7/ && make install clean ===> Patching for openjdk-7.65.17,1 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for openjdk-7.65.17,1 Ignoring previously applied (or reversed) patch. 4 out of 4 hunks ignored--saving rejects to jdk/src/share/classes/sun/applet/AppletPanel.java.rej Ignoring previously applied (or reversed) patch. 4 out of 4 hunks ignored--saving rejects to jdk/src/share/classes/sun/applet/AppletViewerPanel.java.rej => Patch patch-icedtea-web failed to apply cleanly. *** [do-patch] Error code 1 Stop in /usr/ports/java/openjdk7. *** [install] Error code 1 Stop in /usr/ports/java/openjdk7. root@openHAB:/usr/ports/java/openjdk7 # root@openHAB:/usr/ports/java/openjdk7 # pkg install java/openjdk7 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 28 packages will be affected (of 0 checked): New packages to be INSTALLED: openjdk: 7.65.17,1 libXtst: 1.2.2_2 recordproto: 1.14.2 libXi: 1.7.4,1 xproto: 7.0.26 libXfixes: 5.0.1_2 libX11: 1.6.2_2,1 libxcb: 1.10_2 libXdmcp: 1.1.1_2 libXau: 1.0.8_2 libxml2: 2.9.1_1 libpthread-stubs: 0.3_5 kbproto: 1.0.6 fixesproto: 5.0 libXext: 1.3.2_2,1 xextproto: 7.3.0 inputproto: 2.3.1 libXrender: 0.9.8_2 renderproto: 0.11.1 libXt: 1.1.4_2,1 libSM: 1.2.2_2,1 libICE: 1.0.9,1 fontconfig: 2.11.0_3,1 freetype2: 2.5.3_2 java-zoneinfo: 2014.e dejavu: 2.34_4 javavmwrapper: 2.5 alsa-lib: 1.0.28 The process will require 189 MB more space. 56 MB to be downloaded. Proceed with this action? [y/N]: y pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/openjdk-7.65.17,1.txz: Not Found
Thanks in advanced.