jnlp

How can I tell my application that it shouldn't use an external Service Provider from a jar?

╄→尐↘猪︶ㄣ 提交于 2019-12-13 17:17:38
问题 For some reason we need the xdb.jar from the Oracle XDK. This jar depends on the xmlparserv2.jar. The actual problem is that the xmlparserv2.jar comes with some provider-configuration files (META-INF/services). The jar has Services Providers for javax.xml.transform.TransformerFactory , javax.xml.parsers.SAXParserFactory and javax.xml.parsers.DocumentBuilderFactory . The implementations (from oracle.*) don't work together with some other parts of our software (they need the standard factories)

Unsigned entry - JWS

心已入冬 提交于 2019-12-13 08:01:23
问题 I am trying to learn how JWS works and got stuck with the below error com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost:9292/TestJnlp.jar at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source) went thru a lot of related post below could got the answers i am looking for. Found unsigned entry in resource jars no longer seem to be signed. JARSigningException: Found unsigned entry https://stackoverflow.com/questions/30309730

Avoid jnlp “Open” click in MSIE9

狂风中的少年 提交于 2019-12-13 06:42:43
问题 I have an applet started by jnlp/javaws and it generally works well on all combinations of browsers/OS. So the mime type etc. is correct. The only issue is that when using MSIE 9 (and only that) after downloading the jnlp the bar at the lower edge of the browser window appears where you have to click "Open" to start the javaws. There is no checkbox like "Do this every time from now on"/"Do not ask again" so there is no way round this one extra click every time. Anyone could provide a hint as

Returning a value from a java web start application

谁说我不能喝 提交于 2019-12-13 06:36:35
问题 Wondering if anyone knows if there is a way to "return" something from a java web start application into the code on the website. For example say the user needed to select a location in the java application. This would then pass the location value back to the code on the webpage (which is php and javascript). I have figured out how to pass arguments into a program, but so far cannot figure out any way to get them out after much googling. Any help would be much appreciated, thanks. 回答1: In

JNLP does not auto updating JAR file

泄露秘密 提交于 2019-12-13 05:15:31
问题 I am working in a such environment, where we have to update client jar in every 2 months maximum. So, as a solution I am suggesting to use JNLP by using this approach we do not have to worry that every user is using the latest release or not. As, There are more then 100 clients per department. But the problem is JNLP isn't upgrade the new jar file in the following is the my.jnlp file <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://192.168.1.26:8080/" href="Test.jnlp"

how to specify java runtime range with build granularity in jnlp

旧城冷巷雨未停 提交于 2019-12-13 00:15:45
问题 Because of a serious bug in Java 8 Update 40 which was fixed in Java 8 Update 40 build 27, I would like to specify that build as minimum in my JNLP. However this does not seem to work: <resources> <java version="1.8.0_40-b27+"/> Strangely, it doesn't work even if I specify exactly the build, which is currently installed on my machine, Java Web Start tells the me it's not, in my case I did: <resources> <java version="1.8.0_40-b27"/> Is it possible to somehow specify the Java runtime version in

Is it possible to use jnlp without signing the jars?

て烟熏妆下的殇ゞ 提交于 2019-12-12 12:25:35
问题 Is there any way at all to use jnlp without having to sign the jars involved? (The application is being used in a secure environment so from the security point of view signing is not necessary) 回答1: Yes you can, however the webstart application will be in 'sandbox' mode and cannot access filesystem, network and many other parts of the OS. Simply leave out the security element to accomplis this. security Element Each application is, by default, run in a restricted execution environment,

How can I get only heading names.from the text file

爷,独闯天下 提交于 2019-12-12 07:02:29
问题 I have a Text file as below: Education: askdjbnakjfbuisbrkjsbvxcnbvfiuregifuksbkvjb.iasgiufdsegiyvskjdfbsldfgd Technical skills : java,j2ee etc., work done: oaugafiuadgkfjwgeuyrfvskjdfviysdvfhsdf,aviysdvwuyevfahjvshgcsvdfs,bvisdhvfhjsvjdfvshjdvhfjvxjhfvhjsdbvfkjsbdkfg I would like to extract only the heading names such as Education,Technical Skills etc. the code is : with open("aks.txt") as infile, open("fffm",'w') as outfile: copy = False for line in infile: if line.strip() == "Technical

Unable to load resource Jar file

三世轮回 提交于 2019-12-12 04:29:23
问题 I'm working on JavaFx project, and we need to run the app on java jnlp. We singed all the jar files, and i added the IP address into Java configuration, but i faced this problem ExitException[ 3]com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://192.168.1.16:8080/walleterp/lib\WalletERPLibs.jar at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager

jnlp file is prompting mac to download JRE, but its already installed (Java 1.6.0_37) Mac OSX 10.7.5

天涯浪子 提交于 2019-12-12 03:34:26
问题 I don't even really know what to post in here except for the fact that the terminal on the computer says: java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) but for some reason when i run the JNLP file a prompt pops up saying that to open this web start application I need to download the Java Runtime Environment. Which I already did. It originally installed Java 7, and after doing some