java-web-start

Disabled Java warning appearance & affect on Java Web Start apps

余生颓废 提交于 2019-12-17 10:07:00
问题 Recently security vulnerabilities were discovered in the Java Plug-In 1 . As a protection for the end user, Java in most browsers was disabled promptly. What do the 'Java disabled' warnings look like? Does the blocking of applets also affect Java Web Start apps. (they are launched from a link in a web page) aimed at desktop use? Security vulnerability in the Oracle Java Plug-In. For more details see: The JRE 1.7 Vulnerability Q&A at SO. Oracle Security Alert for CVE-2013-0422 The Java™ SE

With Java 7 Update 45, the System Properties no Longer Set from JNLP Tag “Property”

て烟熏妆下的殇ゞ 提交于 2019-12-17 07:24:07
问题 We run the application from the attached JNLP. On the Java console, we have output the system properties with D. The properties from our JNLP files are not set any more. This is the first Java version that we get this sort of problems with. Everything was working fine up to and including 7 Update 40. We have all the jars signed but there are no security attributes in their manifests. <?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="http://10.0.10.230/webstart/app" href=

JTable Calls Custom Cell Renderer Method… Continuously

梦想的初衷 提交于 2019-12-17 06:16:16
问题 Compilable source can be found at: http://www.splashcd.com/jtable.tar I'm new to the language, so I'm not sure if this is acceptable behavior or not. I created a JTable to display a row for each message received (it receives about one every 20 seconds). One of the table columns can contain a large amount of text, so I created a custom cell renderer which word wraps and sets the row height accordingly. All that works as expected, except that once the table displays its first row, it calls the

Replace Applet in downloading and executing a file

坚强是说给别人听的谎言 提交于 2019-12-14 02:43:33
问题 I have an application that has an applet that does two simple things: Download an executable jar file from our server (if the user doesn't already have it) to an specific folder in the user's PC Execute the jar file with the corresponding parameters This jar file monitors an Office file for changes and send it back to our server. The problem is the war Chrome is creating with Java with this NPAPI thing. So I have until September to think of an alternate technology or stop the Chrome support.

As of Java 7 update 45, one can no longer lookup manifest information without triggering a warning?

旧巷老猫 提交于 2019-12-14 02:32:32
问题 Unfortunately, the workaround given by Oracle and others here (Java applet manifest - Allow all Caller-Allowable-Codebase) for getting around the 7 update 45 problem does NOT work if your app needs to access its loaded signed jar manifests. In my case, our app does this so as to log the relevant manifest info. With my web start app, everything worked fine and dandy with the "Trusted-Library" attribute that needed to be added for 7u21. With 7u45, removing the "Trusted-Library" attribute and

How do I close a browser window that was opened by Java Web Start

点点圈 提交于 2019-12-13 19:06:29
问题 I have a java app which is running as an applet. Since plugin support is going away in the browser, we are trying to see how well the applet will run in Java Web Start. However, our app currently opens secondary browser windows using the appletContext.showDocument(URL, target). Java Web Start unfortunately ignores the target, so we are not able to name the window (hence also not able to later close the window). Is there a way, within Web Start, to maintain a handle on all programatically

Will Deployment Rule Sets Allow JNLP To Run Without Signing Jars?

北战南征 提交于 2019-12-13 17:44:07
问题 When I run my JNLP it keeps failing with "com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://......" My JNLP is generated on the fly by a class and ends up looking like this at the top: <jnlp spec="1.0+" codebase="http://myhost.com:8080/webstart" href="jnlp?app=com.mycompany.LaunchWebstart"> I created a very broad ruleset.xml <ruleset version="1.0+"> <rule> <id /> <action permission="run" /> </rule> </ruleset> Added it to a jar jar -cf DeploymentRuleSet.jar

Why does Java Web Start not work with 64-bit Java environments?

两盒软妹~` 提交于 2019-12-13 17:15:28
问题 Java Web Start does not come with 64-bit builds of the JDK. Why is this? What is lacking that keeps it from building and working? 回答1: Thought you'd might want to know the new update is out: http://java.sun.com/javase/6/webnotes/6u12.html 64-Bit Browser Support for Java Plugin and Java Webstart This release supports the New Java Plugin and Java Webstart on AMD64 architecture, on Windows platforms. A Java offline installer (JRE and JDK) is provided. Note, if you use 32-bit and 64-bit browsers

How could I embed a html/css/js view in a webstart application

我只是一个虾纸丫 提交于 2019-12-13 08:08:52
问题 I would like to use a html/css/js view in my webstart project without requesting all permissions . I figured out that I could use the java HTTPServer to process the requests but I need a way to avoid using real sockets, so that the HTTPServer instantiation doesn't ask for some permission. Do you know any projects that achieve that ? and if not, what should I do to get an HTTPServer completely working locally (without hitting boundaries...) ? edit: maybe an HTTPServer is too much, I maybe only

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