Hmmm, the 1.8 install shouldn’t have removed your 1.6 installation.
It would, however, have changed your default java version.
As Mike S. noted, you can use the java_home utility to set your JAVA_HOME.
Run java_home manually to find out if 1.6 is still installed:
/usr/libexec/java_home -v 1.6
Mike's example will set your JAVA_HOME to the current default version. If you want a different java version, use the ‘-v’ flag to specify it.
Eg.
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
-David
> On Dec 8, 2015, at 21:10, John W. Shipman <john@nmt.edu> wrote:
>
> I'm currently running xep-4.22-2013-personal, and when I accepted
> the Java 1.8.0_66 upgrade, it broke my xep install, and of course
> it removed the 1.6 JRE that xep was using. I have the 1.8.0_66
> JRE installed on my Mac running El Capitan (10.11.1).
>
> What do I have to do to get it back running? Here is the ~/bin/xep
> file I was using:
>
> ================================================================
> #!/bin/sh
>
> # XEP command-line
>
> JAVA_HOME="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"
> XEP_HOME="/Users/john/XEP"
>
> CP="$JAVA_HOME/lib/tools.jar:\
> $XEP_HOME/lib/xep.jar:\
> $XEP_HOME/lib/saxon6.5.5/saxon.jar:\
> $XEP_HOME/lib/saxon6.5.5/saxon-xml-apis.jar:\
> $XEP_HOME/lib/xt.jar"
>
> "$JAVA_HOME/bin/java" \
> -classpath "$CP" \
> "-Dcom.renderx.xep.CONFIG=$XEP_HOME/xep.xml" \
> com.renderx.xep.XSLDriver "$@"
> ----------------------------------------------------------------
>
> My first problem is that I have no idea where JAVA_HOME should
> be with the new install.
>
> Life without xep is extremely difficult for me! I use DocBook
> every day all day and I depend on the PDF rendering. What
> do you suggest I do?
>
> Best regards,
> John Shipman, 507 Fitch St., Socorro, NM 87801; john@nmt.edu
> Home: 575-835-0235; cell: 505-249-3839; http://nmt.edu/~shipman/
>
> _______________________________________________
> (*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service http://w
> ww.renderx.com/terms-of-service.html
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Dec 9 09:40:18 2015
This archive was generated by hypermail 2.1.8 : Wed Dec 09 2015 - 09:40:24 PST