java-web-start

What are some alternatives to Java Web Start for executing outside of the browser sandbox?

我与影子孤独终老i 提交于 2019-12-23 03:18:35
问题 I'm looking for a method to deliver my thick client software to intranet users through a browser. Ideally, the user could click a single button on the page, and something local to the machine would execute the software (similar to how Java Web Start works.) Are there any alternatives to Java? I really like the experience provided by Spoon. I see something called 0Install, which sounds like a non-Java web start. What is the experience like? Are there other alternatives I should consider? 回答1:

Profiling a Java Web Start application

牧云@^-^@ 提交于 2019-12-23 01:28:08
问题 There are a lot of java profilers out there, any recommendations as to what would be best for profiling a java web start application that is being deployed to glassfish inside a war? 回答1: Well, the traditional answers for such a question are VisualVM and/or Yourkit (if you have money). If you go for VisualVM, this thread will help you to configure your Webstart application for JMX. If you go for Yourkit, have a look at this discussion. 回答2: Here's a quick-and-dirty but simple, free, and

Java Web Start Application can read files from local systems, but not write [closed]

最后都变了- 提交于 2019-12-22 11:29:05
问题 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 months ago . please ask if you need more info. I have the security and all permissions tags in my jnlp, and when I run my java app offline it works correctly. File T = new File(System.getProperty("user.home") + File.separator + ".myapp/");<br /> if(!T.exists()) T.mkdirs(); File[] temp=new File[2]; temp[0] = new File(System

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

╄→尐↘猪︶ㄣ 提交于 2019-12-22 08:43:13
问题 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

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

試著忘記壹切 提交于 2019-12-22 08:12:12
问题 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

Where can I find the jnlp api jar in jdk 7? [duplicate]

折月煮酒 提交于 2019-12-22 04:25:11
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: Can’t find jnlp.jar in JDK 1.7 For jdk 1.6, it can be found here (according to Where can i download JNLP.jar): ${java.home}/sample/jnlp/servlet/jnlp.jar However, I don't see this directory in my jdk 7 home. Where did it go? 回答1: In java 7 javax.jnlp.* packages are part of the the jre and can be found in the javaws.jar on the following path C:\Program Files\Java\jre7\lib\javaws.jar If using maven: <dependency>

Java Web Start - ClassNotFoundException when running

情到浓时终转凉″ 提交于 2019-12-21 21:17:50
问题 I am now trying to deploy a Java application with Java Web Start. The application works fine when running standalone. I exported the project as a runnable .jar file, and then wrote the corresponding jnlp file. However, when running from the jnlp file, the application returns the following error when starting up: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: someClass ........ Caused by: java.lang.ClassNotFoundException: someClass ......... I exported the .jar file

Using CXF web service from java web start

▼魔方 西西 提交于 2019-12-21 17:48:58
问题 UPDATE: I have submitted my question to the CXF User's mailing list, here . UPDATE: I have currently signed all of my jars. I still can't seem to get CXF setup in a way that it can find the WSDL. My last attempt was to place the WSDL inside of my WAr file so I can access it through a web browser. I set the wsdllocation inside of the client to the URL (http://www.example.com/app/example.wsdl). I am now getting the following exception: Exception in thread "AWT-EventQueue-0" java.lang

Java Webstart not working offline (NoRouteToHostException/UnknownHostException)

大兔子大兔子 提交于 2019-12-21 13:22:27
问题 I want to configure my webstart app/jnlp so that if no internet connection is available, it would start from cache. Nevertheless, when I disconnect from the internet, I always get a NoRouteToHostException or UnknownHostException exception, despite the configuration below. I've set the offline-allowed and update tags/attributes properly I think; I cannot find the reason why webstart is still trying to lookup the host. I definitely do have the app cached from my previous start when I was

Launching a desktop application from a web site

本小妞迷上赌 提交于 2019-12-21 04:49:09
问题 Is it feasible to launch an application via a browser / URL? What are the options for doing this? I know the way to do it with IE and Windows (which usually doesn't work). Ideally, I would like this to be browser independent. Our application is RCP, so in theory Java Web Start could work, we would just have to do some significant changes to how we deliver our application to users, which I would like to avoid. Our web server code is currently all Java if that makes a difference. I pretty much