Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Linux problem (Centos 7.1)

Status
Not open for further replies.
Joined
Dec 11, 2014
Messages
397
Centos 7.1 JRE updated(8u101), JDK updated(8u101)

With JRE as java
That happen when i select the istance of game, Jre is updated as i'm running last runemate version
Scanned for and identified 1 game frames in 640ms.
Exception in thread "19312 - Alpha Abyss Runecrafter" java.lang.NoClassDefFoundError: Could not initialize class sun.tools.attach.LinuxVirtualMachine
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(vu:97)
at com.sun.tools.attach.VirtualMachine.attach(xp:4258)
at nul.iIiIiIiiIiII.false(ckb:178)
at nul.iIiIiIiiIIii.run(amb:168)

WITH JDK as java
first istance work but on second client said that there is an exeption
Imgur: The most awesome images on the Internet

and on terminal i have this

Scanned for and identified 2 game frames in 915ms.
Failed to bind to the game client because of a Exception
java.lang.Exception: Failed to bind to the virtual machine.
at nul.iIiIiIiiIiII.false(ckb:42)
at nul.iIiIiIiiIIii.run(amb:168)
Caused by: java.rmi.NotBoundException: RMIBridge-18662
at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:411)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:272)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at nul.iIiiiIiiIIIi.byte(gnb:184)
at nul.iIiIiIiiIiII.false(ckb:21)
... 1 more
Scanned for and identified 2 game frames in 1227ms.
 
Last edited:
Joined
Oct 23, 2015
Messages
117
I'm sure someone with more knowledge will reply later but I will say I've had loads of trouble trying to run RM in a Linux VM. Never could get it to work, but once I tried on a non-virtual Linux install no problem at all.
 
Joined
Oct 23, 2015
Messages
117
That's strange then, I was getting a similar error

java.lang.NoClassDefFoundError: Could not initialize class sun.tools.attach.LinuxVirtualMachine
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(jr:58)
at com.sun.tools.attach.VirtualMachine.attach(ry:2486)

You can check out Arbiter's advice to me on my old thread here Bug - Spectre not attaching to RS Unix client

Looks like you need to be using Oracle JDK (not Open JDK) and not be using XFCE desktop environment.
 
Joined
Dec 11, 2014
Messages
397
not the case, working on centos that is one of the most reliable linux os
 
could it be a driver issue?
 
Joined
Dec 11, 2014
Messages
397
i tried both only to be sure
 
any ideas?
 
@Arbiter @Cloud
 
@Aidden @SlashnHax
 
sto facendo progressi, ora va uno ma appena cerco di aggiungere una seconda istanza...
Scanned for and identified 2 game frames in 915ms.
Failed to bind to the game client because of a Exception
java.lang.Exception: Failed to bind to the virtual machine.
at nul.iIiIiIiiIiII.false(ckb:42)
at nul.iIiIiIiiIIii.run(amb:168)
Caused by: java.rmi.NotBoundException: RMIBridge-18662
at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:411)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:272)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at nul.iIiiiIiiIIIi.byte(gnb:184)
at nul.iIiIiIiiIiII.false(ckb:21)
... 1 more
Scanned for and identified 2 game frames in 1227ms.
 
Last edited:
Joined
Dec 10, 2014
Messages
3,255
You'll need the Oracle JDK if you don't already have it, I'd suggest using the installer either way though. Basically, there's a class missing from the classpath that's needed, it's included in the JDK iirc.
 
Joined
Dec 11, 2014
Messages
397
did u read last comment? @SlashnHax
 
You'll need the Oracle JDK if you don't already have it, I'd suggest using the installer either way though. Basically, there's a class missing from the classpath that's needed, it's included in the JDK iirc.
actual version installed @Cloud
/usr/java/jdk1.8.0_101/jre/bin/java

still

i'm doing progress, that happened when i try to bind a second account
Scanned for and identified 2 game frames in 915ms.
Failed to bind to the game client because of a Exception
java.lang.Exception: Failed to bind to the virtual machine.
at nul.iIiIiIiiIiII.false(ckb:42)
at nul.iIiIiIiiIIii.run(amb:168)
Caused by: java.rmi.NotBoundException: RMIBridge-18662
at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:411)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:272)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at nul.iIiiiIiiIIIi.byte(gnb:184)
at nul.iIiIiIiiIiII.false(ckb:21)
... 1 more
Scanned for and identified 2 game frames in 1227ms.
 
if is a class missing, is it possible to add it manually? @SlashnHax
 
Joined
Dec 11, 2014
Messages
397
Type "java -version" in Terminal and provide the output.
java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,044
Try running with the JRE explicitly.

Example:
/usr/lib/jvm/java-8-oracle/jre/bin/java -jar /path/to/RuneMate.jar
 
Joined
Dec 11, 2014
Messages
397
with jre it does not link even the first session
 
edited first post trying to be more clear,
also some one can change post title in centos 7.1 problem?
 
Try running with the JRE explicitly.

Example:
/usr/lib/jvm/java-8-oracle/jre/bin/java -jar /path/to/RuneMate.jar

using direct path to java
java.io.FileNotFoundException: /home/Venere/runescape2/share/cache/RuneMate/logs/10-17 9 39 21 - game.txt (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.runemate.bind.AttachBridge.agentmain(mb:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:411)
Unable to redirect agent print streams to /home/Venere/runescape2/share/cache/RuneMate/logs/10-17 9 39 21 - game.txt
[proxychains] Strict chain ... 213.184.109.187:12826 ... 127.0.0.1:1099 <--socket error or timeout!
Creating a new rmi registry.
Failed to invoke getter for a new rmi registry.
[proxychains] Strict chain ... 213.184.109.187:12826 ... 127.0.0.1:1099 <--socket error or timeout!
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.runemate.bind.AttachBridge.try(mb:8)
at com.runemate.bind.AttachBridge.agentmain(mb:350)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:411)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 12 more
Couldn't register event queue because the rmi bridge didn't bind.
 
Joined
Dec 11, 2014
Messages
397
Try running with sudo.
from sudo it does not even start to link first session (sudo path/java -jar path to runemate)

Failed to locate an existing game cache for RuneScape 3.
Scanned for and identified 1 game frames in 477ms.

that is if i start in terminal direclty from root (su - command to be clear)
Unable to open socket file: target process not responding or HotSpot VM not loaded
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(zy:147)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(py:80)
at com.sun.tools.attach.VirtualMachine.attach(ew:9733)
at nul.IiiIiIiIiiiI.byte(llb:5)
at nul.iiiiIIiIiiIi.run(mnb:16)

debian sudo and fedora sudo work a little bit in different ways
 
close please figure it out with @SlashnHax
 
Status
Not open for further replies.
Top