java-web-start

Is there any way to reenable javaws with Java 6 on OSX Lion? [closed]

天大地大妈咪最大 提交于 2019-12-05 21:51:55
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . With the latest update to Apple's Java 6 on Lion, not only did it disable web browser support, it also disabled Java Web Start. I use javaws with an app that requires Java 6 and 32-bit. Java 6 is still present on my system, but javaws doesn't work: James-Babkas-iMac:~ jimbabka$ java -version java version "1.6.0

Java Web Start Applet opening new Browser Window/Tab ignoring target

此生再无相见时 提交于 2019-12-05 21:49:48
Having successfully migrated an applet to a java webstart applet, I notice that every call to getAppletContext().showDocument( new URL("http://"+ host+ "/" + filename + language + ".htm"), "Helppage"); opens a new browser window (Win 7/MSIE11) or tab (firefox depending on configuration) though I obviously request a specific named possibly already open browser window. Has anyone successfully managed to redirect those calls to one browser window (tab)? If yes, how? Looks a similar context to How do I close a browser window that was opened by Java Web Start Thanks in advance 来源: https:/

Java9 JNLP --add-opens not working

六眼飞鱼酱① 提交于 2019-12-05 18:37:13
问题 I have created a simple test case to test Java 9 Web Start with the new modules. Unfortunately, Java 9 Web Start does not by default support --permit-illegal-access like regular Java 9 does. Java 9 Web Start is suppose to support --add-opens (see https://bugs.openjdk.java.net/browse/JDK-8172986). I'm using Java 1.9.0_181_ea. Here is my test class: import java.awt.Toolkit; import java.lang.reflect.Method; import java.lang.IllegalAccessException; import java.lang.reflect

Netbeans JNLP Webstart error

血红的双手。 提交于 2019-12-05 15:43:55
I have been fighting with this all day and I simply cannot figure out what I am doing wrong. I have a project in netbeans that I created a web start page for, as per the method in the netbeans tutorial but every time I try to run either the tutorial project or my project as a web start I get the following error: java.lang.NumberFormatException: For input string: "\Users\<snip>" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.sun.deploy.security.DeployManifestChecker

Trying to pass multiple command line parameters to javaws launch application?

坚强是说给别人听的谎言 提交于 2019-12-05 14:52:30
I have seen similar questions about this but none of them have been able to help me resolve my issue. I have been given a requirement to be able to pass in multiple command line parameters to launch a custom Java application we use. Anyway I have tried this command as all the documentation I can find says: "javaws -open arg1 arg2 arg3 arg4 arg5 arg6 http://yadda/html/launch.jnlp" I have also tried various numbers of parameters and did notice that the "-open" does indeed get passed in as parameter arg[0] but for some reason it will not accept more arguments. One of the related solutions says

How to suppress the keystore password prompt when using Java Webstart with client auth?

删除回忆录丶 提交于 2019-12-05 14:36:09
Is there a way to suppress the password prompt when using Java Webstart with a https server that uses client authentication? I would like to do this, because the webstarted app runs on a touch screen device that got no keyboard and runs in a kiosk mode. Therefore it would be sufficient to either remove the password from the keystore or to store it somewhere, maybe in the desktop shortcut that starts the app. I already tried to attach a JVM Parameter to the shortcut like this, but it doesn't work: javaws -J-Djavax.net.ssl.keyStorePassword=mypass https://... I also found out, when I activate the

Problems launching the slave agent via Java Web Start on Jenkins

£可爱£侵袭症+ 提交于 2019-12-05 10:58:12
问题 We have recently upgraded Jenkins to the latest verion. and since then ive not been able to launch the slaves via Java WebStart through the command line everytime I try to launch it I get "Unable to Launch the application" error with this in the details panel CouldNotLoadArgumentException[ Could not load file/URL specified: http://MyServer:8080/computer/Slave1/slave-agent.jnlp] at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at

Java Web Start - Does it work with Android?

為{幸葍}努か 提交于 2019-12-05 09:13:39
As the title says, is deploying/using applications through Java Web Start a viable option? I found a few posts online from years ago saying that the JavaME applications are only available. No, it's not an option. Android has an Application Store (called Android Market ) that serves a similar purpose: managing applications install, updates and versions... So, technically, you don't need JWS . Why not just host the .APK file locally on your lan on a webserver and allow people to download it from their browsers? I believe the only way to get automatic updates like webstart is to use the android

Java Webstart with Tibco Native Libs

走远了吗. 提交于 2019-12-05 08:47:13
I am trying to deploy an application that uses the native implementation of Tibrv through the TibrvJ library using Java Webstart . I have packaged up all of the Windows dlls from inside c:\tibco\tibrv\bin into a Jar file and have added these to the nativelib element in the JNLP file. I was hoping that webstart would take the dll files from the tibco-7.5.1-nativelibs.jar file and allow them to be loaded via System.loadLibrary which is called from Tibrv.open() . However it doesn't seem to want to work properly. My JNLP file looks like this: <?xml version="1.0" encoding="utf-8"?><!DOCTYPE jnlp

JAXBException on creating JAXB Context

北战南征 提交于 2019-12-05 08:09:17
When I run application as standalone Java program, it works well. When I run it as an applet, it throws JAXBException with following stacktrace. javax.xml.bind.JAXBException: jaxb.properties in package com/test/package does not contain the javax.xml.bind.context.factory property. at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) When I add a jaxb.properties, i get the below error - javax.xml.bind.JAXBException - with linked exception: [java.lang.NoSuchMethodException: com.sun