Select to view content in your preferred language

Java Runtime Error on Ubuntu

567
1
08-01-2018 03:38 AM
chenzero
Emerging Contributor

Hello,

I tried the Java Runtime on Ubuntu 16.04 and 18.04,

java runtime version: 100.3.0

Java version: jdk  8u181

and encountered following problem.

Please see the attched MyMapApp.java 

on 18.04, the whole OS hang, no any response

on 16.04, can show the map.

If ran another sample code OpenScenePortalItemSample.java

Open Scene (Portal Item)—ArcGIS Runtime SDK for Java | ArcGIS for Developers 

I only tested on 16.04 ,  exception thrown (attached in the err1.txt)

Perhaps that I should switch to windows platform?

Thanks!

0 Kudos
1 Reply
chenzero
Emerging Contributor

At last, we found that this is because of some issues with dual graphic cards with Ubuntu. after remove one, the code example worked as expected. Thanks !

0 Kudos