Re: openjdk; iced-tea; itweb-javaws does not open
Dear folks, I run test java on the browser and it works there. But I launch *.jnlp file and it does not do anything. Java was working correctly before updating iced-tea and openjdk. Advice/suggestions are greatly appreciated to get it working again. Best Regards, Antonio On Fri, Sep 6, 2013 at 10:49 AM, Antonio Olivares olivares14...@gmail.com wrote: Dear folks, In case something changed in file /usr/local/bin/itweb-javaws, see the following: root@grullahighschool:/usr/local/bin # cat itweb-javaws #!/usr/local/bin/bash JAVA=/usr/local/openjdk6/jre/bin/java LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar LAUNCHER_FLAGS=-Xms8m CLASSNAME=net.sourceforge.jnlp.runtime.Boot BINARY_LOCATION=/usr/local/bin/itweb-javaws SPLASH_LOCATION=/usr/local/share/icedtea-web/javaws_splash.png PROGRAM_NAME=itweb-javaws CP=/usr/local/openjdk6/jre/lib/rt.jar PROPERTY_NAME=deployment.jre.dir CUSTOM_JRE_REGEX=^$PROPERTY_NAME *= * CUSTOM_JRE=`grep $CUSTOM_JRE_REGEX ~/.icedtea/deployment.properties 2/dev/null | sed s/$CUSTOM_JRE_REGEX//g` if [ x$CUSTOM_JRE = x ] ; then CUSTOM_JRE=`grep $CUSTOM_JRE_REGEX /etc/.java/.deploy/deployment.properties 2/dev/null | sed s/$CUSTOM_JRE_REGEX//g` fi; if [ x$CUSTOM_JRE != x ] ; then if [ -e $CUSTOM_JRE -a -e $CUSTOM_JRE/bin/java -a -e $CUSTOM_JRE/lib/rt.jar ] ; then JAVA=$CUSTOM_JRE/bin/java CP=$CUSTOM_JRE/lib/rt.jar else echo Your custom JRE $CUSTOM_JRE read from deployment.properties under key $PROPERTY_NAME as $CUSTOM_JRE is not valid. Using default ($JAVA, $CP) in attempt to start. Please fix this. fi fi; JAVA_ARGS=( ) ARGS=( ) COMMAND=() i=0 j=0 SPLASH=false if [ x$ICEDTEA_WEB_SPLASH = x ] ; then SPLASH=true fi; while [ $# -gt 0 ]; do case $1 in -J*) JAVA_ARGS[$i]=${1##-J} i=$((i+1)) ;; *) ARGS[$j]=$1 j=$((j+1)) if [ $1 = -headless ] ; then SPLASH=false fi ;; esac shift done k=0 COMMAND[k]=${JAVA} k=$((k+1)) if [ $SPLASH = true ] ; then COMMAND[k]=-splash:${SPLASH_LOCATION} k=$((k+1)) fi; COMMAND[k]=${LAUNCHER_BOOTCLASSPATH} k=$((k+1)) COMMAND[k]=${LAUNCHER_FLAGS} k=$((k+1)) i=0 while [ $i -lt ${#JAVA_ARGS[@]} ]; do COMMAND[k]=${JAVA_ARGS[$i]} i=$((i+1)) k=$((k+1)) done COMMAND[k]=-classpath k=$((k+1)) COMMAND[k]=${CP} k=$((k+1)) COMMAND[k]=-Dicedtea-web.bin.name=${PROGRAM_NAME} k=$((k+1)) COMMAND[k]=-Dicedtea-web.bin.location=${BINARY_LOCATION} k=$((k+1)) COMMAND[k]=${CLASSNAME} k=$((k+1)) j=0 while [ $j -lt ${#ARGS[@]} ]; do COMMAND[k]=${ARGS[$j]} j=$((j+1)) k=$((k+1)) done exec -a itweb-javaws ${COMMAND[@]} exit $? root@grullahighschool:/usr/local/bin # Thanks in Advance, Antonio On Fri, Sep 6, 2013 at 10:45 AM, Antonio Olivares olivares14...@gmail.com wrote: Dear folks, While updating ports, openjdk and iced-tea the itweb-javaws jnlp plugin does not launch. It is downloaded, but iced-tea/plugin is not executed. Anybody else have this problem? openjdk6= icedtea-web = Ideas? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: openjdk; iced-tea; itweb-javaws does not open
Dear folks, In case something changed in file /usr/local/bin/itweb-javaws, see the following: root@grullahighschool:/usr/local/bin # cat itweb-javaws #!/usr/local/bin/bash JAVA=/usr/local/openjdk6/jre/bin/java LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar LAUNCHER_FLAGS=-Xms8m CLASSNAME=net.sourceforge.jnlp.runtime.Boot BINARY_LOCATION=/usr/local/bin/itweb-javaws SPLASH_LOCATION=/usr/local/share/icedtea-web/javaws_splash.png PROGRAM_NAME=itweb-javaws CP=/usr/local/openjdk6/jre/lib/rt.jar PROPERTY_NAME=deployment.jre.dir CUSTOM_JRE_REGEX=^$PROPERTY_NAME *= * CUSTOM_JRE=`grep $CUSTOM_JRE_REGEX ~/.icedtea/deployment.properties 2/dev/null | sed s/$CUSTOM_JRE_REGEX//g` if [ x$CUSTOM_JRE = x ] ; then CUSTOM_JRE=`grep $CUSTOM_JRE_REGEX /etc/.java/.deploy/deployment.properties 2/dev/null | sed s/$CUSTOM_JRE_REGEX//g` fi; if [ x$CUSTOM_JRE != x ] ; then if [ -e $CUSTOM_JRE -a -e $CUSTOM_JRE/bin/java -a -e $CUSTOM_JRE/lib/rt.jar ] ; then JAVA=$CUSTOM_JRE/bin/java CP=$CUSTOM_JRE/lib/rt.jar else echo Your custom JRE $CUSTOM_JRE read from deployment.properties under key $PROPERTY_NAME as $CUSTOM_JRE is not valid. Using default ($JAVA, $CP) in attempt to start. Please fix this. fi fi; JAVA_ARGS=( ) ARGS=( ) COMMAND=() i=0 j=0 SPLASH=false if [ x$ICEDTEA_WEB_SPLASH = x ] ; then SPLASH=true fi; while [ $# -gt 0 ]; do case $1 in -J*) JAVA_ARGS[$i]=${1##-J} i=$((i+1)) ;; *) ARGS[$j]=$1 j=$((j+1)) if [ $1 = -headless ] ; then SPLASH=false fi ;; esac shift done k=0 COMMAND[k]=${JAVA} k=$((k+1)) if [ $SPLASH = true ] ; then COMMAND[k]=-splash:${SPLASH_LOCATION} k=$((k+1)) fi; COMMAND[k]=${LAUNCHER_BOOTCLASSPATH} k=$((k+1)) COMMAND[k]=${LAUNCHER_FLAGS} k=$((k+1)) i=0 while [ $i -lt ${#JAVA_ARGS[@]} ]; do COMMAND[k]=${JAVA_ARGS[$i]} i=$((i+1)) k=$((k+1)) done COMMAND[k]=-classpath k=$((k+1)) COMMAND[k]=${CP} k=$((k+1)) COMMAND[k]=-Dicedtea-web.bin.name=${PROGRAM_NAME} k=$((k+1)) COMMAND[k]=-Dicedtea-web.bin.location=${BINARY_LOCATION} k=$((k+1)) COMMAND[k]=${CLASSNAME} k=$((k+1)) j=0 while [ $j -lt ${#ARGS[@]} ]; do COMMAND[k]=${ARGS[$j]} j=$((j+1)) k=$((k+1)) done exec -a itweb-javaws ${COMMAND[@]} exit $? root@grullahighschool:/usr/local/bin # Thanks in Advance, Antonio On Fri, Sep 6, 2013 at 10:45 AM, Antonio Olivares olivares14...@gmail.com wrote: Dear folks, While updating ports, openjdk and iced-tea the itweb-javaws jnlp plugin does not launch. It is downloaded, but iced-tea/plugin is not executed. Anybody else have this problem? openjdk6= icedtea-web = Ideas? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
openjdk; iced-tea; itweb-javaws does not open
Dear folks, While updating ports, openjdk and iced-tea the itweb-javaws jnlp plugin does not launch. It is downloaded, but iced-tea/plugin is not executed. Anybody else have this problem? openjdk6= icedtea-web = Ideas? Thanks, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org