first,thanks for watching.
details is following:
i'm trying to carry out the official sites's tutorials case - [maps2d>tutorials>display a map] links.
then i had some problems and i sloves them by means of the internet. it seems like everything looks going well.
but , I was in a trouble while i try to run it.
it seems to be related to arcgis runtime .the error prompt is following.
and i'm using is that jdk11、javafx11,all are the latest in reference to the official website's doc.
Initializing...
Java version : 15.0.2 (Oracle Corporation) amd64
Exception in Application start method
Exception in Application stop method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.ExceptionInInitializerError
at com.esri.arcgisruntime.mapping.view.MapView.create(MapView.java:93)
at com.esri.arcgisruntime.mapping.view.MapView.<init>(MapView.java:87)
at cn.fc88804.arcgis.App.start(App.java:47)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
... 1 more
Caused by: java.lang.RuntimeException: Could not find runtime in any of:
- A directory specified by calling ArcGISRuntimeEnvironment.setInstallDirectory()
- The current directory
\WorkSpace\Spring Tool Suits\sts_workspace\ArcGis
- A location specified by the environment variable ARCGISRUNTIMESDKJAVA_100_11_2
- Within the ".arcgis" directory in the user's home path C:\Users\Administrator\.arcgis
at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.lambda$getInstallDirectory$0(ArcGISRuntimeEnvironment.java:262)
at java.base/java.util.Optional.orElseThrow(Optional.java:401)
at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.getInstallDirectory(ArcGISRuntimeEnvironment.java:258)
at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.loadNativeLibraries(ArcGISRuntimeEnvironment.java:693)
at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.initialize(ArcGISRuntimeEnvironment.java:198)
at com.esri.arcgisruntime.internal.jni.CoreGeoView.<clinit>(CoreGeoView.java:52)
... 12 more
thans again!!!