-
Bug
-
Resolution: Fixed
-
P2
-
8u151, 10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8193482 | 8u172 | Victor Drozdov | P2 | Resolved | Fixed | b01 |
JDK-8193907 | 8u171 | Victor Drozdov | P2 | Resolved | Fixed | b01 |
JDK-8193829 | 8u162 | Victor Drozdov | P2 | Closed | Fixed | b12 |
FULL PRODUCT VERSION :
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows Server 2008 R2
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016
A DESCRIPTION OF THE PROBLEM :
A library loading error occurs at application startup.
REGRESSION. Last worked in version 8u144
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
javafxpackager.exe -makeall -appclass Main
Run dist\bundles\Main\Main.exe
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error.
ACTUAL -
A library loading error occurs.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
[Error 1]
Main.exe - System Error
The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.
[Error 2]
Failed to find library.
...\Main\runtime\bin\server\jvm.dll
[Error 3]
Main.exe
Failed to locate JNI_CreateJavaVM
[Error 4]
Main.exe
Failed to launch JVM
(Error 1 is not shown on Windows Server 2016)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) {
Application.launch(args);
}
@Override
public void start(Stage stage) {
final Scene scene = new Scene(new Group(), 640, 480);
stage.setScene(scene);
stage.show();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Copy runtime\bin\msvcr100.dll to the folder where Main.exe exists.
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows Server 2008 R2
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016
A DESCRIPTION OF THE PROBLEM :
A library loading error occurs at application startup.
REGRESSION. Last worked in version 8u144
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
javafxpackager.exe -makeall -appclass Main
Run dist\bundles\Main\Main.exe
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error.
ACTUAL -
A library loading error occurs.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
[Error 1]
Main.exe - System Error
The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.
[Error 2]
Failed to find library.
...\Main\runtime\bin\server\jvm.dll
[Error 3]
Main.exe
Failed to locate JNI_CreateJavaVM
[Error 4]
Main.exe
Failed to launch JVM
(Error 1 is not shown on Windows Server 2016)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) {
Application.launch(args);
}
@Override
public void start(Stage stage) {
final Scene scene = new Scene(new Group(), 640, 480);
stage.setScene(scene);
stage.show();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Copy runtime\bin\msvcr100.dll to the folder where Main.exe exists.
- backported by
-
JDK-8193482 JavaFX Self-Contained Application fails with error "Failed to find library: jvm.dll"
-
- Resolved
-
-
JDK-8193907 JavaFX Self-Contained Application fails with error "Failed to find library: jvm.dll"
-
- Resolved
-
-
JDK-8193829 JavaFX Self-Contained Application fails with error "Failed to find library: jvm.dll"
-
- Closed
-
- relates to
-
JDK-8187366 Remove hardcoded MSVC Version in win.gradle
-
- Resolved
-