java-web-start

jars no longer seem to be signed. JARSigningException: Found unsigned entry

亡梦爱人 提交于 2020-01-01 15:33:25
问题 NB 7.4RC2, Win 7 In Java Control Panel, the "Keep Temporary Internet Files" checkbox is checked. I am signing my Web Start application with trusted certificates. However, the 3rd party jars in dist/lib seem to be unsigned. C:\Program Files (x86)\Java\jdk1.7.0_40\bin\jarsigner" -verify javafx-dialogs-0.0.3.jar jar is unsigned. (signatures missing or not parsable) So when I run my application in the debugger, it refuses to start complaining of unsigned jars ExitException[ 3]com.sun.deploy.net

How to sign Java Webstart application for Java 8u141?

扶醉桌前 提交于 2020-01-01 09:33:31
问题 It looks like there has been a change by Oracle similar to Java 7u45, where new manifest values needed to be set to run signed Java Webstart applications (see here). Currently our signed application working with Java 8u131 does not start with Java8u141 with error message Could not verify signing in resource: (arbitrary resource.jar) Can you still run your signed Webstart application with Java 8u141, i.e. do I have a special problem? In the release notes is a note to security changes, but they

The digital signature is not trusted. Java will not allow any access to this application

淺唱寂寞╮ 提交于 2020-01-01 07:36:07
问题 I have a Java Web Start application, which I've tested on Windows 7, Linux and Mac OS X 10.7 (works fine on all). On Mac OS X 10.8 Mountain Lion the following error occurs, with no option to choose "Allow". The error looks like this: Does anyone know of a workaround for this? 回答1: Just found a solution: Go into System prefs -> security and privacy, and check the box that allows applications to be downloaded from anywhere (you might have to click the lock to make changes to this) 回答2: This is

Testing java web start application using jemmy

不问归期 提交于 2020-01-01 04:14:13
问题 I need to create some gui tests using Jemmy but I have no idea how to launch it with javaws application. In tutorials/examples/etc is something like that: new ClassReference("org.netbeans.jemmy.explorer.GUIBrowser") .startApplication(); This code opens an example window, but how can I, using ClassReference object open *.jnlp file? Or is it another way to "connect" jemmy with java web start application? Thanks for advance. 回答1: You can achieve this by preparing special build with Jemmy

disable bytecode verification in java web start application

梦想与她 提交于 2019-12-31 05:05:07
问题 I have a java web start application and i need to disable bytecode verification from within the jnlp file. This can be done easily by setting JAVAWS_VM_ARGS=" -noverify " or by setting -Xverify:none but the documentation here says that web start does not support adding these arguments in jnlp file . I tried this : <j2se version="1.6+" java-vm-args="-noverify -showversion -verbose" > under resources tag but it skips -noverify and takes the other two. Any help is appreciated. 回答1: ... but the

Java WebStart and endorsed directories

房东的猫 提交于 2019-12-31 01:57:12
问题 How do I specify in java webstart .jnlp file, that some of my jars are overriding the JRE builtin implementations? Just like the endorsed lib property on a regular application. 回答1: It seems there is no way to define endorsed dirs in web start. Even defining the java.endorsed.dirs property to some local directory doesn't work. Probably java sets the variables after the runtime is already up. Two possible solutions to this: From the web start application, only run command line java with java

Found unsigned entry in resource … .jar

六眼飞鱼酱① 提交于 2019-12-31 00:30:07
问题 I'm using Netbeans to compile and sign all my jars, all with the same certificate. However, when I run Webstart with Sun Java SE 6, I get the error Found unsigned entry in resource .. .jar. I messed around with adding and removing jars, etc, but no luck. As far as I know the keystore is in the build directory and gets created on every clean and build . It gives this error not for one jar, but multiple (switching orders of jars led me to believe this). I'm using Netbeans 7. I booted Windows

jar resources in jnlp are not signed by the same certificate

荒凉一梦 提交于 2019-12-30 01:51:18
问题 I've been working with web start for a couple years now and have experience with signing the jars and what not. I am taking my first attempt at deploying a RCP app with web start and though I have in fact signed all of the jars with the same certificate I keep getting this error: 'jar resources in jnlp are not signed by the same certificate' Has anyone else came across this? If so, any ideas on how to fix? 回答1: When I had similar problems after checking the jars it turned out that some 3rd

url parameters in jnlp href attribute

本小妞迷上赌 提交于 2019-12-29 07:09:49
问题 I've been using url parameters to pass arguments to the main-method of the .jar application. After updating to latest jre 7u7 on windows 7, Java-web-start launcher crashes when launching the files. (JNLP download-servlet and jsp-page parses the url-parameters and inputs them in the argument further down) The interesting parts of the jsp <jnlp spec="6.0+" codebase="http://localhost:8080/" href="myfile.jnlp?username=charles"> ... <application-desc main-class="MyMain"> <argument><%=request

Java Web Start: Unable to tunnel through proxy since Java 8 Update 111

穿精又带淫゛_ 提交于 2019-12-29 05:07:21
问题 Some of our customers cannot run our Java Web Start client anymore since Java 8 Update 111. They get: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required Looks like it has to do with this change: Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removing Basic from the jdk.http.auth.tunneling.disabledSchemes