- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我运行 javafxpackager 时,我收到以下警告/信息:
No base JDK. Package will use system JRE.
最佳答案
有一个old Oracle blog其中提到了这一点。不知道它是否仍然适用或与您的案例相关:
Self-Contained Applications: Select Java Runtime to bundle
Packager tools in 7u6 assume current JDK (based on java.home property) is the source for embedded runtime. This is useful simplification for many scenarios but there are cases where ability to specify what to embed explicitly is handy. For example IDE may be using fixed JDK to build the project and this is not the version you want to bundle into your application.
To make it more flexible we now allow to specify location of base JDK explicitly. It is optional and if you do not specify it then current JDK will be used (i.e. this change is fully backward compatible).
New 'basedir' attribute was added to tag. Its value is location of JDK to be used. It is ok to point to either JRE inside the JDK or JDK top level folder. However, it must be JDK and not JRE as we need other JDK tools for proper packaging and it must be recent version of JDK that is bundled with JavaFX (i.e. Java 7 update 6 or later).
Here are examples ( is part of task):
<fx:platform basedir="${java.home}"/>
<fx:platform basedir="c:\tools\jdk7"/>Hint: this feature enables you to use packaging tools from JDK 7 update 10 (and benefit from bug fixes and other features described below) to create application package with bundled FCS version of JRE 7 update 6.
关于javafx-8 - Javafxpackager : how do you set the "base JDK"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24025309/
我在命令行中添加多个包时遇到问题。 javafxpackager -createjar -outfile outjar -srcdir /dest/to/src -classPath libs/lib
当我运行 javafxpackager 时,我收到以下警告/信息: No base JDK. Package will use system JRE. 从 Deploying JavaFX Appli
JavaFXpackager 似乎在 openjdk/openjfx 11 中不可用。 我想用它创建二进制 CSS (BSS)。 https://docs.oracle.com/javase/8/do
我使用 Mac OS X Mavericks 和 JDK 1.7.45 来打包一个 Swing 应用程序,使用 Mac 的 javafxpackager 工具。不幸的是,最终结果看起来像这样(隐藏图标
我是一名优秀的程序员,十分优秀!