jlink

jlink连接32的问题

六眼飞鱼酱① 提交于 2019-12-12 01:07:56
jlink连接32的问题 之前用j-linkV8去调试stm32,用的IDE是KEIL,在连接的时候发生下面这种情况: 这是因为驱动不兼容,通过向大佬请教,解决办法如下: 将老版的MDK中的segger替换现在MDK中的segger文件夹 来源: CSDN 作者: weixin_42595206 链接: https://blog.csdn.net/weixin_42595206/article/details/103496290

GDB break commands don't get executed in command files

£可爱£侵袭症+ 提交于 2019-12-11 16:48:04
问题 I have a debugging script that does the following: sets two breakpoints. let's call them start and end breakpoints. after starting, the script continues until start breakpoint is hit. once start breakpoint is hit, I perform single-stepping until end breakpoint is hit. This is my command file: # end breakpoint break 38 commands stop 1 quit end # start breakpoint break 50 commands set logging off set logging file log.txt set logging overwrite on set logging on printf "program counter: $pc" end

What are the algorithms behind the Level 1 and Level 2 compression using Jlink (Java 9)?

筅森魡賤 提交于 2019-12-11 04:07:31
问题 The documentation (https://docs.oracle.com/javase/9/tools/jlink.htm#JSWOR-GUID-CECAC52B-CFEE-46CB-8166-F17A8E9280E9) says: Level 1 -> Constant String sharing Level 2 -> zip My questions are: 1). Which strings get shared ? 2). Who share these strings ? 3). Compression in Level 2 does not create a zip file. Then how it is a zip compression ? 来源: https://stackoverflow.com/questions/48180953/what-are-the-algorithms-behind-the-level-1-and-level-2-compression-using-jlink

Error: automatic module cannot be used with jlink: - Maven with JavaFX

混江龙づ霸主 提交于 2019-12-10 23:42:28
问题 I have selected Apache Commons IO, JSerialComm and Ini4J libraries via Maven repository. But when I try to create an image via mvn javafx:jlink I get this errors: [INFO] --- javafx-maven-plugin:0.0.2:jlink (default-cli) @ JUSBPlotter --- [WARNING] Required filename-based automodules detected. Please don't publish this project to a public artifact repository! Error: automatic module cannot be used with jlink: ini4j from file:///root/.m2/repository/org/ini4j/ini4j/0.5.4/ini4j-0.5.4.jar [ERROR]

Migration issues concerning OpenJDK 11 & OpenJFX 11 (& Proguard)

青春壹個敷衍的年華 提交于 2019-12-10 17:20:15
问题 we are currently migrating a Java application from Oracle JDK 8 (application code delivered by JNLP) to OpenJDK 11 (application code delivered as runnable along with a Java Runtime). Although we found more or less a working solution in our test environment we still have following issues: Our application needs JavaFX and we want to use jlink for building. Is it recommended to use the OpenJFX jmods supplied on https://gluonhq.com/products/javafx to build an appropriate jlink image using OpenJDK

Is it possible to use jlink on JDK 11 to make a runtime including the Java SE EE modules that were removed?

此生再无相见时 提交于 2019-12-07 06:47:33
问题 When I try to include java.xml.bind in my runtime I get an error message: Error: automatic module cannot be used with jlink: java.activation from file:...[url to javax.activation-api-1.2.0.jar in my gradle cache] I'm using these artifacts on the module-path: "javax.xml.bind:jaxb-api:2.4.0" "org.glassfish.jaxb:jaxb-runtime:2.4.0-b180830.0438" It seems that with JDK 11, modules were removed but no fully-modularized replacements have been made available. So jlink can't make a runtime from them.

Java9 packager with jlink compress tags

南楼画角 提交于 2019-12-06 02:43:02
问题 when we create jlink runtime images we can use tags such as '--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages' , creating a distribution folder around 45mb. If we want to use javapackager, for example to create an .DMG file, how can we do a similar compression? since these tags are not avaiable for javapackager. Without them the final bundle is around 100mb, losing a lot the java9 modularization advantages, so my question is if it is possible to use javapackager with

Is it possible to use jlink on JDK 11 to make a runtime including the Java SE EE modules that were removed?

丶灬走出姿态 提交于 2019-12-05 10:16:20
When I try to include java.xml.bind in my runtime I get an error message: Error: automatic module cannot be used with jlink: java.activation from file:...[url to javax.activation-api-1.2.0.jar in my gradle cache] I'm using these artifacts on the module-path: "javax.xml.bind:jaxb-api:2.4.0" "org.glassfish.jaxb:jaxb-runtime:2.4.0-b180830.0438" It seems that with JDK 11, modules were removed but no fully-modularized replacements have been made available. So jlink can't make a runtime from them. Why weren't the external replacements properly modularized, given that they were already modules in JDK

spring with jlink, moditect and java 11

六月ゝ 毕业季﹏ 提交于 2019-12-05 09:36:55
问题 thanks to pupeno for his precedent work on spring and moditect that helped me for most of my problem on the subject, however I'm blocked a bit further that he was. my problem is the illegal access exception my poc is available on github I used to add this bit of code to make it work with intelliJ IDEA : <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <compilerArgs> <arg>--add-opens java.base/java.lang

When JRE was completely discontinued as a separate offering?

寵の児 提交于 2019-12-04 23:49:23
问题 Starting from Java 9 the module system was introduced, making provision of JRE separately redundant . Through, it seems that it was still possible to download it. For example, from here now Java 9 archive Also, here it's only stated that : Restructure the JDK and JRE run-time images to draw a clear distinction between files that developers, deployers, and end-users can rely upon and, when appropriate, modify, in contrast to files that are internal to the implementation and subject to change