-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
9
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
All programs using classes of javax.activation package will throw an exception at startup and will not function.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
C:\Users\Gxxxxxxxx\tools\Agile Workbench>java -jar Agile_Workbench.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/Mime
typesFileTypeMap
at agileworkbench.Main.<init>(Main.java:98)
at agileworkbench.Main.main(Main.java:165)
Caused by: java.lang.ClassNotFoundException: javax.activation.MimetypesFileTypeM
ap
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown So
urce)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(U
nknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package examples.activation;
import javax.activation.MimetypesFileTypeMap;
public class XActivation {
public static void main(String[] args) {
MimetypesFileTypeMap map = new MimetypesFileTypeMap();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use Java 8.
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
All programs using classes of javax.activation package will throw an exception at startup and will not function.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
C:\Users\Gxxxxxxxx\tools\Agile Workbench>java -jar Agile_Workbench.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/Mime
typesFileTypeMap
at agileworkbench.Main.<init>(Main.java:98)
at agileworkbench.Main.main(Main.java:165)
Caused by: java.lang.ClassNotFoundException: javax.activation.MimetypesFileTypeM
ap
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown So
urce)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(U
nknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package examples.activation;
import javax.activation.MimetypesFileTypeMap;
public class XActivation {
public static void main(String[] args) {
MimetypesFileTypeMap map = new MimetypesFileTypeMap();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use Java 8.