jwrapper

JWrapper example application fails to launch on Mac OS X 10.8.5

只愿长相守 提交于 2020-01-05 06:46:25
问题 I'm trying to use jWrapper with Java 8, but I don't understand how to set up the JREs. As a test I specified (I'm On Mac OS X 10.8.5) on my JWrapper config .xml file: <Mac64JRE>/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/</Mac64JRE> but this ends with exception like this: [Archive] Adding file (99376) (Contents/Home/bin/jar) /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/jar ********************************** * BUILD FAILED * ********************************** **

JavaFX Ubuntu stage dock icon does not update

元气小坏坏 提交于 2020-01-04 05:49:10
问题 I am developing a JavaFX 8 application that runs cross-platform on Windows/OSX/Ubuntu via JWrapper. Right now I am using stage.getIcons().add(..) to set the stage icon to a 256x256 PNG bundled with the application. This works on Windows, however on Ubuntu, the dock icon remains the Oracle/Java default icon, as shown below. Is there some third party library, or some technique I can use to get my own icon and tooltip/title to display for the Ubuntu dock icon? 回答1: Ubuntu is a bit different: You

JWrapper windows shortcuts broken

一个人想着一个人 提交于 2019-12-25 03:36:16
问题 JWrapper support now redirects to StackOverflow, so I'm posting here. The Windows shortcuts created by JWrapper don't work; they point to a location which doesn't exist; I can verify this by navigating to the directory pointed to in the properties of the shortcut: C:\Users\jchrist\AppData\Roaming\JWrapper-SampleApp and seeing that the expected SampleAppWinLauncher.exe isn't there. I can reproduce this simply with a slight modification of the SampleApp. Open the jwrapper-sampleapp.xml file and

jar built with jwrapper doesn't work

允我心安 提交于 2019-12-23 20:24:29
问题 jwrapper manipulates application jars somehow, and is resulting in a non-functioning jar: at runtime it throws a "MyClass cannot be cast to MyClass" type error. I believe this is caused by re-evaluating code that creates a class loader, leading to multiple instances of class MyClass being loaded. The jwrapper docs don't describe the changes made to the jar, except for the use of pack200. I've tested pack200 in isolation, and it does not cause this problem. I've also tested the jar built by

JWrapper app does not launch on OS X 10.7.5

核能气质少年 提交于 2019-12-11 16:13:56
问题 My 64-bit JWrapper application launches fine on OS X 10.8, 10.9 and 10.10, but not on 10.7.5. I am using the latest verison of JWrapper (00031607960). Here is the crash log: Date/Time: 2014-10-28 09:33:26.025 -0700 OS Version: Mac OS X 10.7.5 (11G63) Report Version: 9 Crashed Thread: Unknown Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff5fc01028 Backtrace not available Unknown thread crashed with X86 Thread State (64-bit): rax: 0x0000000000000055

JWrapper “java.lang.IllegalArgumentException: MALFORMED”

China☆狼群 提交于 2019-12-11 09:56:28
问题 In the step of adding the my jar file to the build process, there is this error: [Archive] Adding file (33065030) (ioc2-config.jar) E:\WORK\NETBEANS\ioc2-config_v2015-09\store\ioc2-config.jar [Archive] Will pack200 ioc2-config.jar ********************************** * BUILD FAILED * ********************************** ** Error Trace: java.lang.IllegalArgumentException: MALFORMED ..... ** Reason: java.lang.IllegalArgumentException: MALFORMED The jar file is working perfectly. What can I do?