-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get jMAVSim to work #85
Comments
It probably isn't you. What setup instructions did you follow and to what platform? Are you running in a VM? |
Hi, I've used this instructions.
https://github.com/PX4/jMAVSim/blob/master/README.md
But I couldn't get the comand ant create_copy_res working so I tried
directly with the comand make px4_sitl jmavsim using the px4 developer
guide.
I'm using ubuntu, but not in a VM.
El dom., 2 dic. 2018 22:39, Hamish Willee <[email protected]>
escribió:
… It probably isn't you. What setup instructions did you follow and to what
platform? Are you running in a VM?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#85 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Arba0cN3qqKmk0tJqHpZdPsww6EiC4Jiks5u1EicgaJpZM4Y9kGj>
.
|
The setup instructions here worked for me last time I tried on Ubuntu 16.04: http://dev.px4.io/en/setup/dev_env_linux.html (there are helper scripts there that install everything needed). The problem is probably due to an incompatible Java installation. Which is not to say that there isn't a problem - those README instructions should also be updated. |
So what java should I be installing? I'm using java 8 because I saw in a
discussion it worked well with the jMAVSim building process.
El lun., 3 dic. 2018 7:17, Hamish Willee <[email protected]>
escribió:
… The setup instructions here worked for me last time I tried on Ubuntu
16.04: http://dev.px4.io/en/setup/dev_env_linux.html (there are helper
scripts there that install everything needed).
The problem is probably due to an incompatible Java installation.
Which is not to say that there isn't a problem - those README instructions
should also be updated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#85 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Arba0ZaQ1SlNIWN1FI5Z-xxgZ8qX6dhNks5u1MIKgaJpZM4Y9kGj>
.
|
OpenJDK8 according to to the docs: http://dev.px4.io/en/setup/dev_env_linux_ubuntu.html#jmavsim |
Should I uninstall first the java version that i'm using now?
El lun., 3 dic. 2018 7:28, Hamish Willee <[email protected]>
escribió:
… OpenJDK8 according to to the docs:
http://dev.px4.io/en/setup/dev_env_linux_ubuntu.html#jmavsim
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#85 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Arba0ckO5VLv-If7MKIvI4Fc-WrBePbBks5u1MSMgaJpZM4Y9kGj>
.
|
Probably. I just know what works as a turnkey installation on a clean ubuntu 16.04 machine. |
I saw different issues regarding java or wrong java versions on px4 builds Jmavsim. I noticed strange thing: I installed After I sourced the ubuntu_sim.sh script, the Java version was nico@nico-MacBookPro:~/src/Firmware$ java -version Is it possible problems arise in reinstallating java through script file? error now on my machine is : Starting GUI... WARNING: An illegal reflective access operation has occurred |
Hi guys,
I've been literally trying the whole weekend to get jMAVSim to work but it's been imposible (probably because of my very basic knowledge). When I try to execute the comand:
make px4_sitl jmavsim
I get px4 to start but then (if i'm not mistaken) it tries to open jMAVSim but this error occurs:
Starting GUI...
Exception in thread "main" java.lang.reflect.InvocationTargetException
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 org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at java.awt.Window.getToolkit(Window.java:1358)
at java.awt.Window.init(Window.java:506)
at java.awt.Window.<init>(Window.java:537)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at me.drton.jmavsim.Visualizer3D.<init>(Visualizer3D.java:104)
at me.drton.jmavsim.Simulator.<init>(Simulator.java:157)
at me.drton.jmavsim.Simulator.main(Simulator.java:678)
... 5 more
Does anyone know how to fix this? I've tried so hard but I can't seem to get it working. Thanks in advanced
The text was updated successfully, but these errors were encountered: