How to run dynamically created jnlp?

552 byte By jackChanga at 2007-11-26 15:04:08
Hi, I'm learning how to run a dynamic jnlp file create by a cgi program.I have a jnlp file, which can be executed by the <a href=....> in theHTML file. Then my experiment is to write a perl script to print exactly the same content as the jnlp file, and then the href isre-directed to the ...

Major Flaw in Java Web Start

1211 byte By Brunisa at 2007-11-26 15:04:39
i've discovered 2 ways to easily destroy deployment of webstart applications to your clients..1. after launching .jnlp file from website, cancel it at any time!2. change certificate. (or sign with 2 certificates)this results in the following errors for me:JNLPException[category: Launch File ...

specifying JRE version in webpage (not using default set in Plugin)

404 byte By nnilaa at 2007-11-26 15:06:06
Hiya,I'm trying to set it up so our app loads a specific version of JRE (1.4.2_12) even though v 1.5 is installed on the machine and set as the default in the plugin.Cant change the default from being v1.5 in the plugin as it is needed by other application on the system.Does anyone know how I ...

Too many arguments Exception

305 byte By pankajsinghsachana at 2007-11-26 15:06:48
Hi,i m using java 1.4+, and JNLP i want to lauch a Swing aaplicationbut the problem is it is waorking fin some system and it throwsTooManyArgumentsException with some Systems.i have checked the JRE all systems have JRE 5.0can anybody help me ...

Advice needed on installer

920 byte By AndrewThompson64a at 2007-11-26 15:11:03
I am trying to create an example of an installer/uninstaller but have already run into some problems. They are probablyrelated to the fact that my example is a trivial exmaple that does nothing useful,but perhaps if I could quickly check a few things, I might be able to get it working.1) I get ...

JRE 5.0.10 - Applying a transform fails

574 byte By nicktfa at 2007-11-26 15:12:37
Hi,I've been trying to install JRE 5.0.10 (32bit Windows) with a transform to remove certain properties, specifically JAVAUPDATE, AUTOUPDATE, JU and WEBSTARTICON, for a corporate release. I've created the transform in ORCA and applied it with logging enabled - these indicate that the ...

Could not find main class - Java virtual machine launcher error

1276 byte By java_prog_newa at 2007-11-26 15:13:27
Hi,I tried executing the following cmd, below is the following error:<<command i executed>>C:\Program Files\Java\jre1.5.0_09\bin>java -classpath "C:\Program Files\Java\jre1.5.0_09\lib\javaws.jar" com.sun.javaws.Main https://<IPddr>:8443/sample.jnlp<<Error ...

Using Jardiff

2519 byte By ShishirKa at 2007-11-26 15:14:06
Hi,I want to use jardiff. I have downloaded JnlpDownloadServlet and trying to implement it.I read complete documentation, but sill I',m not clear about the 2 approaches.Plz correct me If I'm wrong.1) I have to change .jar file name, considering BNF notation.else2) I can have version.xml file ...

JWS - offline-allowed

358 byte By ttl3a at 2007-11-26 15:17:13
All - Even though I DO NOT have <offline-allowed/> tag in my jnlp file, I can still launch my JWS application even though the web server is down.How can that be?If <offline-allowed/> is not there JWS should check for the web server and if it can not connect, it should fail to launch ...

Main-Class Attribute

336 byte By Ricardo.Souzaa at 2007-11-26 15:17:51
Hi, I'm trying to run a .jar file on a PocketPC, using the VM MySaifu, everytime a try to run the same error happens:java.lang.Exception: No Main-Class attribute in \MyDocuments\projpetr\hello.jarmy manifest is the Follow:Name: helloManifest-Version 1.0Main-Class: helloCan anyone ...

Troubles with the type associations

1240 byte By paul@activemath.orga at 2007-11-26 15:21:11
Hello forum,The type and extension association is really delicious, it's time this happens!I've been trying it with moderate success, here are a few experiences, I would love advice for better results:- first the example at ...

From Netbeans 5.5 to Tomcat 5.0 Server

380 byte By foxForce5a at 2007-11-26 15:24:43
I am a newbie with using Tomcat server. I would greatly appreicate your help.I have created a JSP/servlets web application on Netbeans 5.5 and now I have to install it on to Tomcat 5.0 for viewing and testing, what are the steps I need to take to accomplish this? I have searched the internet ...

Connection timed out exception at second start

2620 byte By MaggusRa at 2007-11-26 15:30:29
Hi all,when I run a Java Web Start application, JWS downloads the application and starts it perfectly. When I run the application a second time, JWS searches for a new version and after a few minutes returns a "Connection timed out" exception:JNLPException[category: Download-Fehler : Exception: ...

Packaging multiple jars in one jar file.

267 byte By shelziba at 2007-11-26 15:35:38
Hi I have an application that is packaged into a jar, but I have a library I would like to pack with it, so that my jar-file contains the other jar inside. I thought using Java indexing (jar -i) would work, but it didn't for me.Any ideas?Thanks.

How to populate customized message from JNLP?

300 byte By Baskia at 2007-11-26 15:37:49
I have java applications running with different JREs. Is there a way to populate message to remote users from the JNLP when a required JRE is not found on desktop. I'm having trouble finding all the JREs installed on the client desktop, specifically JRE 131 and below.Thanks in ...

adventure of stale jars

2428 byte By prateek_urmaliyaa at 2007-11-26 15:38:05
Hello brethren,I am using webstart for deploying/updating my swing desktop client,It is a simple JNLP set up where JNLP picks up the application jar and dependent jars from the same directory where it resides,Now I made some changes to my application code and deployed (through FTP)it on the ...

Programmatically Creating a Java Archive (.jar file)

823 byte By WillRyana at 2007-11-26 15:42:46
Hey All,I have tried a number of approaches but can't seem to programmatically create a java archive. The first approach I have been trying is:Process p = Runtime.getRuntime().exec("jar cf Files.jar temp.java", null, new File("C:\\Program Files\\eclipse\\workspace"));However, it throws the ...

Jar and JNLP

325 byte By sailesh-Jaina at 2007-11-26 15:42:52
hi everybody,I am using java web start for first time and i have got a problem like this...I have got a jar file which on execute connects to a server and the it starts running.But if i use this jar file through JNLP then its not woking. Can any help me to come out of this problemthanx in ...

Launching an applet with java web start

204 byte By -WildChild-a at 2007-11-26 15:44:36
Is there a way to launch an applet with java web start? That is, to have the java appelt run in a browser but get deployed with a jnlp-file and have all the benefits of java web start?Robert

jnlp file won't launch on Windows XP - maybe due to permissions

622 byte By muppet_tizera at 2007-11-26 15:49:06
When launching a .jnlp file it simply hangs saying checking for latest versions.I suspect this is to do with lack of permissions or the wrong Java version. Any ideas?The java version I am using is 1.4.2_09. The .jnlp looks for<j2se initial-heap-size="64m" max-heap-size="128m" ...

my JNLP doesnt start!!

318 byte By java1357a at 2007-11-26 15:49:36
hellowhen I launch the jnlp, after some seconds a window appers with message:This application has failed to start because msi.dll was not found. Re-installing the application may fix this problem.it seems to me that this window is from the Windows not java web start.thank ...

jdk6 on ubuntu: error while loading shared libraries: libjli.so: cannot...

654 byte By itemStateChangeda at 2007-11-26 15:50:31
hello,i'm installing java first time on ubuntu. the installation notes stupidly don't mention how i make it the default runtime ; so i just extracted into /usr/local/jdk1.6.0 and replaced the symbolic link /usr/bin/java from gcj to the new one /usr/local/jdk1.6.0/bin/java . now when i run ...

Sun ONE WebServer

541 byte By Bala_murugana at 2007-11-26 15:50:39
I am using Sun ONE WebServer 6.1 and after deploying a WAR file and if i try to modify a file its not getting reflected. The server is taking the content that was deployed originally.For eg: If i modify a java file and replace the class file at the correct location the changes is not getting ...

Java Heap Memory Allocation

818 byte By teknovisiona at 2007-11-26 15:51:39
Hi there!I'm trying to increase Java Heap size for Java WS applications. I have entered the below in the deployment properties:deployment.javapi.jre.1.5.0_03.args=-DcheckMemory\=false -Xms32m 朮mx256m -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:NewRatio=2 ...

Problem with CORBA application deployed using Java Web Start 1_6_0.

2779 byte By John_Shotta at 2007-11-26 15:51:53
Java Web Start fans and experts:We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering ...

Java (TM) Plug-In fatal error

165 byte By krystal1985a at 2007-11-26 15:53:46
When I try to access yahoo games i get this error and it also says The Java Runtime Environment cannot be loaded. I wanted to see if i could fix this problem.

Unable to load resource in weblogic using WAR file

3871 byte By wkt00_kentanga at 2007-11-26 15:55:26
Hi:I deployed an application using WAR to weblogic 8.1. When WebStartI tries to download a jar from the server, I got the following error (see stack trace below). Note if I explode the WAR archive and deploy to an exploded archive directory in ** weblogic**. Then WebStart downloads the missing ...

java.net.MalformedURLException: unknown protocol: socket

300 byte By Andres_Gleza at 2007-11-26 15:56:28
Hi.I have an app deployed with java web start. It runs fine with java5.If i update the machines to java6 it works in some (windows and linux) but not on other (windows).The exception i get is:java.net.MalformedURLException: unknown protocol: socketAny ...

java.rmi.server.hostname and JNLP in a secure sandbox

1125 byte By plaplaa at 2007-11-26 15:57:27
HelloWe have an java application that we now shall deploy via java web start in a secure sandbox, i.e. we shall not sign our jar files.We use RMI two ways i.e. the client act as both a client and a server. In java web start running in a secure sandbox, reading and writing system properties is ...

jarsigner: invalid END header (bad central directory offset)

610 byte By NorbertoLocatelliBassia at 2007-11-26 15:58:04
I signed a jar (which is a standalone application) with: C:\>jarsigner -keystore myKeystore myJar.jar I verified it with C:\>jarsigner -verbose -verify myJar.jar It was OK. I updloaded it to my web site via ftp. When I try to to downlod it via Java Web Start, I get a ...

Using JNLP to load a Java Plugin FrameWork based Applications.

241 byte By Balaji_ACKa at 2007-11-26 15:58:37
I have a simple application which pull up with different number JPF plugins along with it. I could pull them up easily as normal desktop application but can't with webstart. Is there a possibility please guide me.Thanks

Uninstall previous versions at install

188 byte By johnbota at 2007-11-26 15:58:44
Can I have the installer of JRE 6.0 automatically uninstall any previous versions like 5.0.6 and higher on install?I am distributing the MSI with corresponding MST using GPO.

Creating short cuts fails

2537 byte By finalbetaa at 2007-11-26 15:59:40
Seems my problems with failed creating of icons was largly due to caching. Yet Java web start does not create menu icons for me in GNOME (2.16.1). Normal or not?/// Old post, no longer relevant.Hosts are running Java 6 and the problem occurs on Windows XP/Ubuntu Edgy. (those are the only ...

JWS tries to download an extension even if the network is down

720 byte By Schippea at 2007-11-26 16:00:08
JWS tries to download an extension even if the network is down and the <offline-allowed> tag is provided. In case of the main application JWS realizes that the network is down and executes in offline mode.But as soon as I provide an installer-desc in a separate jnlp it tries to download ...

Reading pac file

93 byte By rathnapandia at 2007-11-26 16:03:40
How to read the proxy auto config(pac) file from java regardsRathnapandi

signed applets in 1.6

1069 byte By markiGa at 2007-11-26 16:04:46
Hello,since the usage of Java 1.6 we have the strange problem that the plugin seems to ignore the certificate of all signed applets comming from a single server. No "trust applet" dialog pops up, the console says nothing about reading a certificate, nor errors (even with debug parameters turned ...

Any imapct on MS JVM due to Daylight savings changes in 2007

81 byte By hotjava05a at 2007-11-26 16:05:49
Is there any imapct on MS JVM due to the Daylight savings changes in 2007.

Accessing a file in a jar

2122 byte By macman104a at 2007-11-26 16:06:59
I'm writing a program that I am packaging into a jar. There is a data file that I would like to include in the package, that the program needs to access. In the jar, I have two folders:src > ... > codedata > donationsList.txtHere is the code that I have been trying to useURL ...

creating jar files

239 byte By uncle_remusa at 2007-11-26 16:07:42
Hi all,I'm a complete newbie when it comes to java...however i've managed to patch one of the jakarta.commons files and need to recreate the jar using the patched source. can anyone tell me how to achieve this?thanks

Classpaths and JNLP (third attempt at post?)

1016 byte By houckmana at 2007-11-26 16:08:47
Hi,I have searched the forum for an answer to this questions, but have yet to find one. I have the following resources section of a .JNLP file:<resources><j2se version="1.5+" href=" http://java.sun.com/products/autodl/j2se"/><jar href="program.jar/> </resources>... and I ...

installer exit code

196 byte By krazykarla at 2007-11-26 16:16:17
I am installing the java EE sdk (java_ee_sdk-5_02-windows.exe) and the installer gave me an exit code of 73. Does anyone know what the different exit codes mean? is 73 a successful install?

JAR not working

505 byte By BobMila at 2007-11-26 16:17:10
I have made an application in Eclipse and I want to make JAR file now.I have done Export to JAR file from Eclipse but it's not good.I have .txt files and .bmp files that my application uses and I have put them all in JAR file but when I double click on JAR file it wouldn't start. Only way it ...

Need help understanding the local caching of jnlp when creating it via jsp

1023 byte By dafletchaa at 2007-11-26 16:23:13
I'm trying to deploy an app via Web Start. I have occasions when I need to pass arguments, so I'm using JSP to create the JNLP and optionally write arguments.I need some help in figuring out how to cover my different use cases with as few different jnlps as possible and am confused about the ...

jar not working HELP!

352 byte By whashneza at 2007-11-26 16:24:24
I've written the code for an mp3 player and I want to make it jar.I've used javazoom for playing the audio.Apparently when I export itjavazoom is not exported or something like that,because if I take out the parts in the code that use javazoom,the jar runs normally...help me please I'd like ...

IzPack problems

590 byte By BobMila at 2007-11-26 16:25:03
I am using IzPack 3.9.0 for deploying my JAR files but I am having problems with creating desktop shortcuts.In order to use ShortcutPanel you must add to install.xml this tag<native type="izpack" name="ShellLink.dll"/>That tag is need to create shortcuts for Windows.Problem is when I try ...

Hopefully simple newbie question

1098 byte By Kramisa at 2007-11-26 16:25:17
Hi, I just started using NetBeans 5.5 and Java in general.I have a created a .jar stand alone program that works fine. I created it from a general project in NetBeans.I would now like to "deploy" this program via the web somehow so other people can use it. I'm not sure the easiest way to do ...

JAR compatibility

980 byte By Kramisa at 2007-11-26 16:26:12
Okay, so I made a standalone jar program, and it works fine on my computer. Very simple swing application. I can double click and run the jar no problem.I put a link to it on a web page and had some friends try it out, and it won't run on any of their computers for some reason.I saw in another ...

Running a jar built with Netbeans

1051 byte By sumGuya at 2007-11-26 16:29:38
I've built a J2EE app in NetBeans that has a client app talking to an EJB. The program runs great if I run it through netbeans, but when I try to run the jar that NetBeans produces (via "java <jar_name>") I get:Exception in thread 'main' java.lang.NoClassDefFoundError: ...

Jar does nothing!

598 byte By DarkMortara at 2007-11-26 16:29:39
Yes, another one of these threads, I am trying to export my program to jar in Eclipse 3.2.I selected my project, and the package, and all of the resources within it. I export it to my desktop, and YES I DID include the Main class. Ok, it seems to export to my desktop with no issues, I double ...

How to enable logging for Java Web Start on Java 6.

443 byte By sg3a at 2007-11-26 16:29:40
I'm trying to get logging working in Java Web Start from Java 6. In previous versions I was able to specify a log file in the Java Web Star control panel (or whatever it was called) , but I can't work out what to do in the Java 6 version of JWS. I've checked the docs and searched the forums ...