我尝试从 JavaFX 8 迁移到 9+。
如何找到以现有类命名的模块?
这是我的问题的示例:
很难发现javax.smartcardio必须使用模块名称java.smartcardio。是查找模块名称的查找表吗?Intelij Idea 无法动态找到它。
module xyz {
// import javax.smartcardio.*;
requires transitive java.smartcardio;
// import javax.swing.*;
requires transitive java.desktop;
}
Run Code Online (Sandbox Code Playgroud)
有没有简单的方法可以解决这个问题?
在Java 9中删除了哪些类?
在Java 8上,我的工具正在运行.
在Java 9上我得到:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/JPEGCodec
Run Code Online (Sandbox Code Playgroud)
似乎有些类已被删除.
我在Windows上使用Oracle JDK.