Comments (8)
@charon-1-1
I tested running the simulator on my own computer and it does work fine. Can you please provide us further information about the environment (computer, OS, Java version, etc) where you are trying to run the simulator? Additionally, please share the log files that you can find on the logs
directory, so we can help you solve the issue.
from rcrs-server.
Thank you very much for your help!
computer: HP
OS: Ubuntu 18.04.6 LTS (virtual machine)
Java version: openjdk version "17.0.2" 2022-01-18
gardle version: Gradle 4.4.1
git version 2.17.1
git version 2.17.1
logs:
logs.zip
from rcrs-server.
@gnardin
I think the problem is with the config of types.cfgwhich mentioned ../jars
from rcrs-server.
Looking at the log files, the exception is related to Java. See the snippet I copied from kernel-out.log
file.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
@charon-1-1
I have a similar configuration than yours. The only difference is the Ubuntu version, I am using version 20.04. But the Java and Gradle are the same. In my computer it does not cause any error.
I noticed, however, that you are probably using an older version of the simulator (v1.5) since you are launching the start.sh
script from the boot
directory while in the new version (v2.0) the script is launched from the scripts
directory.
The older version of the simulator (v1.5) is not compatible with Java 17. You can switch back to Java 11 or you can update to the new version of the simulator. You can clone the new version of the simulator using git clone https://github.com/roborescue/rcrs-server.git
.
Please let us know if the problem persists.
from rcrs-server.
Thank you for your reply, actually we have tried the new server, we have tried many on Ubuntu20.04, but we ran into the same problem. It was strange that the team members could run the server successfully with the same operation in the same environment as us, but I and several other members had this problem and were bothered by it for a long time.
Here is the log file from the new server:
logs.zip
from rcrs-server.
@charon-1-1
It seems it is something related to your environment setup.
Can you please install the OpenJDK 17 JDK as indicated below?
sudo apt install openjdk-17-jdk
You may have the headless, but not the JDK installed.
After installing, test on the new simulator since the old one is not tested with the Java 17.
Please let us know if the problem persists.
from rcrs-server.
Wow, that should be the question. We reinstalled jdK17 according to your instructions and successfully started the server. Thank you very much! We have been using Ubuntu's prompts for JDK installation, which does have -headless.
Thank you again from the bottom of my heart.
from rcrs-server.
Please let us know if you have any further problem.
from rcrs-server.
Related Issues (20)
- Error launching `scenarioEditor` using Gradle HOT 6
- The bed continues occupied HOT 5
- ProtoBuf branch is not compatibile with the logs of traditional version HOT 2
- Why ProtoBuf uses urn id? HOT 3
- in ProtoBuf branch string urn is used for command but for others urnid is used HOT 1
- ProtoBuf not completely implimented HOT 2
- Merge enum and enum_v1 HOT 3
- organisation of folders HOT 3
- Feature request: using docker and build the docker into docker-hub HOT 3
- Feature request: WebApi to control the server HOT 1
- Migrate to Log4j2
- LogViewer cannot read rescue.log.xz. HOT 5
- Compatibility of log files on the new server with the previous server HOT 12
- map change problem HOT 1
- Agents refuse to connect to server HOT 13
- Request for Modification Regarding Map Score Calculation Method HOT 1
- Is Gradle Required in Pre-installation for rcrs-server? HOT 2
- Question about 'merge nodes' functionality in rcrs-server's gml-editor. HOT 2
- Run server without any UI elements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcrs-server.