<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/vnd.ui.insecure+html;charset=utf-8">
</head>
<body style="overflow-wrap:break-word; word-break: break-word;"><div class="mail_android_message" style="line-height: 1; padding: 0.5em">yes: first priority to avatars, chat [and voice chat].<br/><br/>I did one mistake at my SrrTrains project, which we should not repeat: we should cooperate with authoring tools closely from the beginning - as easy as sketchup - as open as blender<br/><br/>just m2c<br/><br/>-- <br/>Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.</div><div class="mail_android_quote" style="line-height: 1; padding: 0.3em"><html><body>Am 23.02.21, 06:20 schrieb John Carlson <yottzumm@gmail.com>:</body></html><blockquote class="gmail_quote" style="margin: 0.8ex 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I was able to get it to work by setting JAVA_HOME and JDK_HOME as root
<br> before running `ant run`
<br>
<br>
<br> I have a working gateway, web page and DIS receiver.
<br>
<br>
<br> Congratulations to the whole open-dis team!
<br>
<br>
<br> This is becoming less mysterious.
<br>
<br>
<br> So. What's next on our requirements list for multiuser X3D? Better
<br> avatars? Avatar downloading from user site? I think Gina would go for
<br> that, based on a a facebook post.
<br>
<br>
<br> My first attempt was to build an LOA4 skeleton. Mine had flat hands and
<br> flat feet.
<br>
<br>
<br> Would anyone like to see my skeleton building code?
<br>
<br>
<br> John
<br>
<br> On 2/21/21 10:55 PM, John Carlson wrote:
<br> > This looks useful, getting nashorn working in Java 15.
<br> >
<br> >
<br> > <a href="https://quabr.com/65265629/how-to-use-nashorn-in-java-15-or-later">https://quabr.com/65265629/how-to-use-nashorn-in-java-15-or-later</a>
<br> >
<br> >
<br> > Basically, you have to add a jar to your classpath it looks like!
<br> >
<br> >
<br> > John
<br> >
<br> > On 2/21/21 10:37 PM, John Carlson wrote:
<br> >> This code works in GraalVM.
<br> >>
<br> >>
<br> >> import javax.script.ScriptEngine;
<br> >> import javax.script.ScriptEngineManager;
<br> >> public class Foo {
<br> >> static public void main(String [] args) {
<br> >>
<br> >> try
<br> >> {
<br> >> ScriptEngineManager factory = new ScriptEngineManager();
<br> >> ScriptEngine engine = factory.getEngineByName("nashorn");
<br> >>
<br> >> engine.eval("print('Hello, World')");
<br> >>
<br> >> }
<br> >> catch(Exception e)
<br> >> {
<br> >> System.out.println(e);
<br> >> }
<br> >>
<br> >> }
<br> >> }
<br> >>
<br> >> ================================================================
<br> >>
<br> >> This code does not work in DISWebGateway. Can i get a Java version #
<br> >> when running the run target under ant?
<br> >>
<br> >>
<br> >> $ sudo ant run
<br> >>
<br> >> This is a Linux 5.8 system.
<br> >>
<br> >>
<br> >> See below
<br> >>
<br> >>
<br> >>
<br> >> On 2/21/21 9:53 PM, John Carlson wrote:
<br> >>> I've been trying to get open-dis' DISWebGateway running, and got the
<br> >>> following script issue. I think it's because OpenJDK does not use a
<br> >>> scripting engine like Nashorn.
<br> >>>
<br> >>>
<br> >>> I will likely move to GraalVM if there are no other solutions.
<br> >>>
<br> >>>
<br> >>> run:
<br> >>> [java] Loaded configuration properties
<br> >>> [java] class edu.nps.moves.gateway.Configuration
<br> >>> [java] SLF4J: Failed to load class
<br> >>> "org.slf4j.impl.StaticLoggerBinder".
<br> >>> [java] SLF4J: Defaulting to no-operation (NOP) logger
<br> >>> implementation
<br> >>> [java] SLF4J: See
<br> >>> <a href="http://www.slf4j.org/codes.html#StaticLoggerBinder">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for further details.
<br> >>> [java] Started DIS listening on UDP port 1194
<br> >>> [java] Configured to not use redis server
<br> >>> [java] Starting websocket server on TCP port 8282
<br> >>> [java] Starting https server on TCP port 443
<br> >>> [java] WebSocket Opened
<br> >>> [java] java.lang.NullPointerException: Cannot invoke
<br> >>> "javax.script.ScriptEngine.eval(String)" because "engine" is null
<br> >>> [java] WebSocket Closed. Code:1011 Reason:WebSocketException
<br> >>> [java] WebSocket Opened
<br> >>> [java] java.lang.NullPointerException: Cannot invoke
<br> >>> "javax.script.ScriptEngine.eval(String)" because "engine" is null
<br> >>> [java] WebSocket Closed. Code:1011 Reason:WebSocketException
<br> >>>
<br>
<br> _______________________________________________
<br> x3d-public mailing list
<br> x3d-public@web3d.org
<br> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
<br>
</blockquote></div></body>
</html>