Terminal server throws NIO errors

55 views
Skip to first unread message

Bernhard Schicht

unread,
Jan 17, 2019, 5:30:05 AM1/17/19
to NJ4X Forum
I used 
  • nj4x-2.8.4-P5 
  • Java 1.8.0_202
  • Windows 10
When I start terminal server by command "java -DSW_HIDE=false -jar nj4x-ts-2.8.4-P5.exe" I get this error:

java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at com.jfx.ts.io.ExternalProcess.getOut(ExternalProcess.java:166)
        at com.jfx.ts.net.TS.<clinit>(TS.java:155)
        at com.jfx.ts.net.TerminalServer.main(TerminalServer.java:107)
Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
        at com.jfx.ts.io.InputStreamManager._readASCIILines(InputStreamManager.java:222)
        at com.jfx.ts.io.InputStreamManager.readASCIILines(InputStreamManager.java:195)
        at com.jfx.ts.io.InputStreamManager.readASCIILines(InputStreamManager.java:189)
        at com.jfx.ts.io.ExternalProcess$ProcessStreamReader.run(ExternalProcess.java:384)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Could not establish connection to terminal server: 127.0.0.1:7788
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class com.jfx.ts.net.TS
        at com.jfx.ts.net.TerminalServer.main(TerminalServer.java:146)

Please help!

Roman Gerasimenko

unread,
Jan 17, 2019, 5:50:59 AM1/17/19
to NJ4X Forum
Please download/install latest Java (11) runtime - https://www.oracle.com/technetwork/java/javase/downloads/index.html

чт, 17 січ. 2019 о 12:30 Bernhard Schicht <bernhard...@gmail.com> пише:
--
You received this message because you are subscribed to the Google Groups "NJ4X Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nj4x+uns...@googlegroups.com.
To post to this group, send email to nj...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages