Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

No luck with Ubuntu 16.04: openjdk-6-jre has no installation candidates #8

Open
dzach opened this issue Oct 7, 2016 · 5 comments
Open

Comments

@dzach
Copy link

dzach commented Oct 7, 2016

Upgraded to new Ubuntu and it seems there is no more openjdk-6-jre to install. Any ideas on how to proceed?

@Traumflug
Copy link
Owner

I run Ubuntu 16.04 here, too, and Visolate works. Just tested releases 3.0.1, 3.1, 3.0.1, 3.1 and 3.1.1. All of them show at least the initial window with the test PCB, only 3.0 failed.

Looking at my installed packages I see openjdk-8-jre-headless, libjava3d-java, libvecmath-java. Also a number of Java packages which likely aren't needed for Visolate.

Does that help?

@dzach
Copy link
Author

dzach commented Oct 9, 2016

Thank you for the quick reply.
I have the same java version installed. The desktop manager is KDE. System is AMD 64. Details about it show up in the attached file.
Visolate loads and the window appears but only for a few seconds. It then crashes with the following report in hs_err_pidxxx.log:

hs_err_pid3369.txt

It reusumes the error as follows:

# The crash happened outside the Java Virtual Machine in native code.

I can't figure out what the problem is. Java behaves normally with other applications.

Thanks again.

@Traumflug
Copy link
Owner

Looking at these stack traces, I can't see any Visolate code involved. Whatever is there, it happens inside Java3D.

It might be a misalignment between J3D and your video driver (mine is Intel graphics), so turning off hardware acceleration (entirely or partially) might help. This can be done by setting environment variables: http://mesa3d.org/envvars.html. I'd try with LIBGL_ALWAYS_INDIRECT, LIBGL_ALWAYS_SOFTWARE, LIBGL_DRI3_DISABLE, RADEON_NO_TCL or similar ones, one at a time. To run with such a variable set, set it in front of the command:

LIBGL_ALWAYS_SOFTWARE=1 java -jar ...

or export the variable before running the command:

export LIBGL_ALWAYS_SOFTWARE=1
java -jar ...

@dzach
Copy link
Author

dzach commented Oct 9, 2016

Thank you much for looking into this. I tried each one of your suggestions and more from the link but still no progress. You are probably very right about the video driver. This nvidia GeForce GT 620 graphics card gives me problems even with NVIDIAs own drivers so I'm running the open source nouveau driver. To make things worse, I have a dual monitor setup, although it doesn't seem to make a difference when I change it to single monitor. Will try different combinations of changes and if I succeed I'll let you know which one was the winner. Thanks again.

@colesnicov
Copy link

I've this problems too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants