java-web-start

java.security.properties in JNLP

自作多情 提交于 2019-12-24 14:52:27
问题 I know you ca specify a file that is going to override the java.security f java -Djava.security.properties=myProperties How can I set this parameter in a JNLP file? 回答1: Properties in JNLP file you can set using this tag: <property name="key" value="overwritten"/> But you can't set java.security.properties in JNLP. Not all properties are allowed to set in jnlp. For more info see here. Why do you need to change this property? 来源: https://stackoverflow.com/questions/34998336/java-security

Jnlp gives error in certification

 ̄綄美尐妖づ 提交于 2019-12-24 10:50:58
问题 I have generated the keystore and its inner key. Then I have my signed java applet. But each time I start my jnlp applet I can see the Internet browser security Warning dialog. When the application server and the client machine are in the same network , in the dialog box shows "Publisher: MyCompanyName "but when we access the application form the internet,it shows that "Publisher: UNKNOWN". Anyone could let me know what the cause of this problem.Any help would be greatly appreciated. 回答1:

Java WS application ignoring arguments sporadically

China☆狼群 提交于 2019-12-24 10:23:11
问题 I have recently put together a JWS application which gets it's argument from a dynamically created JNLP file (details can be found here). It's all good except the application ignores the argument (starts without loading the specified number) on my system (linux x86_64). It seems however that the JWS application exactly as intended on the win_64 machine of a colleague of mine. This is rather interesting as I couldn't replicate his success on another similar win_64. To make things more exciting

JNLP file doesn't work on windows 10 x64

别来无恙 提交于 2019-12-24 10:15:51
问题 I have Windows 10 pro. x64. I have jnlp file, that works on many different laptops, but not mine. So usually jnlp file opens a window with application. Not on mine machine. When i double click on jnlp or run it using jawaws file.jnlp what happens is Java(TM) web launcher and Java (TM ) Web Start Launcher is active in processes in task manager.. So, each time i run jnlp program, it runs web launcher and web start launcher but doesn't run program. What is curious, sometimes but seldomly, it

how to display a JFrame from an applet?

依然范特西╮ 提交于 2019-12-24 08:50:01
问题 I have this class called PollFrame that extends JFrame in a file called PollFrame.java . PollFrame contains a form. I have an applet, which has a button in it. When the button is clicked, I want the PollFrame to be displayed. I set the ActionPerformed as: Pollframe poll = new PollFrame(); // This initializes the form poll.setVisible(true); However, when I click the button, I get the following error : Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied

How to grant dependent lib in jnlp file all permissions?

不羁的心 提交于 2019-12-24 04:13:25
问题 I have a serious problem with Java Web Start that I can't get my head around. The situation is the following: I have a JavaFX app, written Java8, that I want to deploy using Java WebStart. Until recently I used HTTP for communications with a server, and everthing worked fine. I could deploy the app using Web Start embedded in the browser or as a standalone app. However I have now changed the communication to use WebSockets. For this I am currently using the tyrus implementation. And now comes

Java Webstart Reporting Wrong Bootloader options

て烟熏妆下的殇ゞ 提交于 2019-12-23 15:17:13
问题 I have problem running a Java RCP application via Java Webstart. This works for others in the team, but not for me. (don't you just love those sort of problems) I believe the problem is that it is downloading the 32 bit version of the application, not the 64 bit. When I look at the webstart .log file on my machine I can see the following. !SESSION 2012-07-06 16:24:37.672 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_32 java.vendor=Sun Microsystems

new Deadlock bug in 7u45 webstart?

浪子不回头ぞ 提交于 2019-12-23 09:33:06
问题 The fun from java 7u45 keeps on giving. This time it's a deadlock within webstart. This is happening very consistently (every time) launching a large application (~100 jars). Has anyone else run into this or know of any workarounds? Other than reverting to 1.7.0_40? Thanks, Found one Java-level deadlock: ============================= "Java Web Start Main Thread": waiting to lock monitor 0x066368bc (object 0x29e65428, a java.lang.Class), which is held by "Finalizer" "Finalizer": waiting to

JNLP should use a specific Java version but error results

巧了我就是萌 提交于 2019-12-23 09:26:04
问题 I'm facing a problem here. I want to use a special version to run our java webstart application but just for one jnlp. ("It was tested, ... blabla we can't use a new version... blabla" by random windbag) So I tried to configure our JNLP like this: <resources> <j2se version="1.6.0_29" href="http://java.oracle.com/products/autodl/j2se"/> ... </resources> When I start this jnlp now I get following Error even if the right Java is installed: Error: The application has requested a version of the

Java Web Start - load native dependency with another native dependency

丶灬走出姿态 提交于 2019-12-23 07:47:10
问题 I am using Java Web Start to launch a Java application that depends on some third party native libraries. These native libraries then subsequently load another native library ( commonLib ) as their dependency using LoadLibrary/dlopen. When not using Web Start, everything works as expected when the native libraries are located in the same directory. Web Start, however, requires the native libraries to be packed in a jar file and referenced in the jnlp file, which I did: <!-- Windows OS -->