Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 10:53:52 -0600
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: openjdk6 + iced-teaweb installed, cannot open *.jnlp
Message-ID:  <CAJ5UdcPGhZtCemHHDp=aftCXG8kxtgCAhvOCpVgPZpvkvx3o=A@mail.gmail.com>
In-Reply-To: <50ED5879.6050002@gmail.com>
References:  <CAJ5UdcMe5p6T=d51xvBOdiiS=nsDoJ-Zem0DgU5UM1ie_U0WAA@mail.gmail.com> <50ED5879.6050002@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173603
>
> --

I get this:

$ bash -x `which itweb-javaws` jviewer.jnlp
+ 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
+ PROGRAM_NAME=itweb-javaws
+ CP=/usr/local/openjdk6/jre/lib/rt.jar
+ JAVA_ARGS=()
+ ARGS=()
+ COMMAND=()
+ i=0
+ j=0
+ '[' 1 -gt 0 ']'
+ case "$1" in
+ ARGS[$j]=jviewer.jnlp
+ j=1
+ shift
+ '[' 0 -gt 0 ']'
+ k=0
+ COMMAND[k]=/usr/local/openjdk6/jre/bin/java
+ k=1
+ COMMAND[k]=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar
+ k=2
+ COMMAND[k]=-Xms8m
+ k=3
+ i=0
+ '[' 0 -lt 0 ']'
+ COMMAND[k]=-classpath
+ k=4
+ COMMAND[k]=/usr/local/openjdk6/jre/lib/rt.jar
+ k=5
+ COMMAND[k]=-Dicedtea-web.bin.name=itweb-javaws
+ k=6
+ COMMAND[k]=-Dicedtea-web.bin.location=/usr/local/bin/itweb-javaws
+ k=7
+ COMMAND[k]=net.sourceforge.jnlp.runtime.Boot
+ k=8
+ j=0
+ '[' 0 -lt 1 ']'
+ COMMAND[k]=jviewer.jnlp
+ j=1
+ k=9
+ '[' 1 -lt 1 ']'
+ exec -a javaws /usr/local/openjdk6/jre/bin/java
-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar -Xms8m
-classpath /usr/local/openjdk6/jre/lib/rt.jar
-Dicedtea-web.bin.name=itweb-javaws
-Dicedtea-web.bin.location=/usr/local/bin/itweb-javaws
net.sourceforge.jnlp.runtime.Boot jviewer.jnlp
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
$

How do I do the suggested fix?
As root?
as regular user?
i.e, how do I change the attributes.  I see the fix, but don't know
how to apply it :(

Thanks for your help and advice.



Regards,


Antonio



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