jnlp

Java Applet via JNLP: System.Properties not being “set”

孤街浪徒 提交于 2019-12-04 13:17:47
It is years since I have worked in Java (that's my excuse). I am trying to launch a Java Swing UI as an Applet (previously done via Web Start). I have modified the jnlp file to reflect the changes that I know are necessary for an applet (e.g. using applet-desc instead of application-desc). Inside the <resources> tag in the jnlp file we set system properties like this: <property name="java.security.auth.login.config" value="$$context/app/auth.conf"/> In the init method of the main class we try to read some of these system properties and always get "null" as the value. Does anyone have any ideas

Set default JVM parameters to be used for applet launch

大憨熊 提交于 2019-12-04 11:43:52
I am trying to remote debug a Java applet, but I cannot seem to get the -agentlib:jdwp JVM argument to work. I have tried specifying it in the Java control panel for the particular JRE used, and I have tried setting it via the JNLP file used to launch the applet. What is the correct way to set JVM parameters for applet launch? In particular, to debug remotely. 11101101b Looking at a similar SO question , I found the following answer... Sometimes to debug some security related stuff the browser plugin environment is just too different from appletviewer. Here's what you can do to effectively

Encoding issue on filename with Java 7 on OSX with jnlp/webstart

Deadly 提交于 2019-12-04 09:18:07
问题 I have this problem that has been dropped on me, and have been a couple of days of unsuccessful searches and workaround attempts. I have now an internal java swing program distributed by jnlp/webstart, on osx and windows computers, that, among other things, downloads some files from WebDav. Recently, on a test machine with OSX 10.8 and Java 7, filenames and directory names with accented characters started having those replaced by question marks. No problem on OSX with versions of Java before

JNLP files won't launch from IE11 on Windows 10

家住魔仙堡 提交于 2019-12-04 08:59:10
Since May 9, after a windows 10 update, on IE11 11.0.40, JNLP files wont launch from IE, but in a computer with IE version 11.0.34 it work perfectly. Any ideas? Thanks in advance The problem is solved in Java 8 u162. Now you can have Java RE x86 and x64 installed and jnlp will open as it should in Internet Explorer. We are using sitelist / Enterprise Mode to redirect jnlp urls from Edge to Internet Explorer. I had a problem opening a jnlp file, no matter what, trying to associate it with the Java Web Service exe javaws.exe, but it just would not associate and would not be run. I read

What's with the new JNLP Missing items warnings in Java 7?

筅森魡賤 提交于 2019-12-04 08:35:29
My JNLP still works fine after our switch from Java 6 to Java 7, but it now throws a whole series of errors like this: Missing Application-Name: manifest attribute for: http://blah.com/app.jar Missing Permissions manifest attribute for: http://blah.com/app.jar Missing Codebase manifest attribute for: http://blah.com/app.jar It repeats several times for our main jar and a couple times for one of our library jars. However, it does not occur at all for the bulk of our library jars. JaNeLa lists some optimization opportunities (by changing some defaults), but none of those appear to be related,

Java - how to get IP address automaticallly in JNLP file?

孤者浪人 提交于 2019-12-04 02:04:23
问题 In the JNLP file how do I get the IP address automatically? Example: <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="GET ip address here automatically" href="Test.jnlp"> instead of manually setting the address to: codebase="http://10.10.10.1/" 回答1: It can't do that. You can add a DNS entry for 10.10.10.1 , and put the hostname in that field instead of the IP address, but it's just XML - there's no way to call a method from that line to run code and figure out what IP

Java Web Start Jar signing Issue?

筅森魡賤 提交于 2019-12-03 22:19:39
I'm trying to run this Java application (jar) via Java Web Start and am having an incredibly difficult time. Here's my current JNLP source: <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://localhost:8080/" href="Test.jnlp"> <information> <title>Jnlp Testing</title> <vendor>YONG MOOK KIM</vendor> <homepage href="http://localhost:8080/" /> <description>Testing Testing</description> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.6+" /> <jar href="TestJnlp.jar" /> <jar href="lib/appframework-1.0.3.jar"/> <jar href="lib/junit-4.7.jar"/

How to deploy a desktop JavaFx 2.0 application correctly using jnlp for 32 and 64 bit?

纵饮孤独 提交于 2019-12-03 15:13:06
I have a jnlp file for deploying my javafx 2.0 application, however, how do I make sure that the users have the correct javafx runtime (32 or 64 bit depending on the jvm present on the machine) and if not, download it and run the application. Assuming that the user does not have a javafx runtime currently installed, the problems that I'm facing mostly with a 64 bit machine with either 32-bit, 64-bit or both JRE's are: 1) The Javafx swing deployment guide mentions to use the <jfx:javafx-runtime version /> tag to download the appropriate jfx runtime, but JRE below 1.7 doesn't understand this tag

Java 7 update 45 broke my Web Start SWT application

左心房为你撑大大i 提交于 2019-12-03 13:54:21
问题 I maintain an Eclipse RCP application launched with WebStart. Java 7 u45 made some security changes, and now my application crashes on startup. I've added to the manifest: Permissions: all-permissions Codebase: * Trusted-Library: true This removed all of the warning messages from the Control Panel. But I still have a classloader issue when trying to load my IApplication implemenentation, probably the first of my classes to load. This is new to update 45. 回答1: I have experienced the same issue

Unidentified developer for Java Web Start application on OS X

家住魔仙堡 提交于 2019-12-03 11:40:34
On Mac OS X 10.9 signed Java Web Start applications are blocked by default with the message: "application.jnlp" can't be opened because it is from an unidentified developer. I know it's possible to weaken the security checks to allow any application to run, but that requires a manual intervention of the end user. Is it possible to "sign" a Java Web Start application such that it is recognized as originating from an identified developer? Thank you Apple does appear to support signing of webstart -- but not directly. You have to bundle it in an archive. See the note at the bottom of this page: