How to pass command line arguments to Web Start appclient?

222 byte By mbazsa at 2007-11-27 6:35:32
Hi,I would like to pass arguments to appclient, but "javaws" unable to do that.Do I have to overwrite the JNLP? I use Sun Appserver 9.0, it creates JNLP on the fly!!!Please help, thanx!MB

Updates

220 byte By aldagoa at 2007-11-27 6:35:37
I currently have J2SE Runtime Environment 5 updates 5, 6 and 11 as well as Runtime Environment 6 Update1. They take up half a gig of space on my computer. Do I need all of them or can I delete the earlier updates?

Problem installing Java1.6 on Solaris

864 byte By edswinga at 2007-11-27 6:36:30
I downloaded the Java1.6 SDK (update1, 64-bit solaris) from the sun site. However, I am having trouble installing and getting it to run. The actual error message I get is:ld.so.1: java: fatal: libjli.so: open failed: No such file or directoryKilledAfter a bit of exploration, I discovered that ...

Beginner with some problems

1860 byte By Mark13a at 2007-11-27 6:48:07
Hey guys, so I have a signed executable jar file that works fine when its in the same directory as the directory that holds the images. If I try to run it outside of this directory, the images don't show up. I think this might be a security issue but I'm not sure.I also tried to deploy it as ...

Sign jar at runtime

646 byte By stepand76a at 2007-11-27 6:48:14
Hi, is possible to sign jar at runtime? We have a swing application which consist of program jars (our code) and data file (zip file which contains misc. data and image files, no class files). This data file is generated by win32 application (it is our, we also developed it). We need to run ...

problem in loading applet from non-executable jar file

514 byte By 1softsolutionsa at 2007-11-27 6:50:37
hello ,I am new to jar concept plz help.. I am trying to call an applet from another applet through frame it is working fine but its download time is much more. now i want to store all my images , sound files and class files of other applets in a jar file and want to access these inner applets ...

Download a license.bea file in webstart cache

586 byte By Raj-ka at 2007-11-27 6:51:30
Hi All,In my application i have a requirement where i need to set Bea.Home to the license.bea path in the system properties. I have managed to download this license file to the webstart download directory by placing it within a .jar file.The application is unable to read it from the jar. Please ...

Generating JAR from Eclipse from a project partially created with NetBeans

1090 byte By YngwieMa at 2007-11-27 6:52:15
Hello!I realised a java project in Eclipse with a graphic and testual interface.The user can choose between the two interfaces writing "startx" to activate the visual one and any other characters to activate the testual one.The graphic interface was made with netBeans 5.5, and then imported in ...

Beginner: How is JNLP file renewed.

1155 byte By cleya at 2007-11-27 6:52:31
Hi,I had successfully deployed a Java Swing application with Java Web Start and had successsfully released patches/updates with it. Part of the configuration is that a desktop icon was created for it and users have been using that.Now, I am ready to deploy a new "version" of the application ...

Installing JDK 5.0 update 11 in Solaris (sparcv9 ?64bit)

792 byte By Muthukumaran_Ma at 2007-11-27 6:53:03
I have downloaded the self extracting instillation of JDK 1.5.0_11 (jdk-1_5_0_11-solaris-sparcv9.sh) in to my windows machine and then copied the file to the Solaris box. While running the file, I am getting the following error.Do you agree to the above license terms? [yes or ...

Jar command not available

667 byte By thinkfly2007a at 2007-11-27 6:56:59
Hi, I have a new Java programmer and I have installed the following software onto my PC:1) Java SE Development Kit 6u1 and NetBeans IDE 5.5.1 Bundle2) Sun Java Toolkit 1.0 for CDC3) JBuilder 2005 FoundationNow, I am trying to make a "jar" file with the following command:" jar -cf test.jar ...

include postgreSQL driver to my JAR file

836 byte By CbbLea at 2007-11-27 6:58:28
Hi!I have some files I want packaged into a JAR. one of them uses a postgreSQL driver to access database. However I can't start my JAR file. I've previously made another JAR file and got it to work (similarities to the one below) but without a database driver...location of .class ...

Start a jar with a jar by doubleclick

825 byte By fraenklia at 2007-11-27 7:01:01
Hey Guys,First, sorry for my bad english, i hope you understand what i mean.Ok, now my problem.I use e Linux and i like to start an application by double klicking on a jar file. This jar file, does start en other jar file in the same path.Why i'd like to do this. I the second jar, nead some OS ...

Forcing a different VM for every browser

528 byte By Jorilxa at 2007-11-27 7:01:37
Hi everyone!I have to access two different applets from the same Windows machine, one requires Internet Explorer with JRE 1.3.1 and the other one any other browser with JRE 1.4.2.. I know this sounds like prehistory, but please bear with me X-)Is there a way to tell the java-plugin which ...

class-path in meta-inf how to

532 byte By miro_connecta at 2007-11-27 7:02:14
I have a jar file it has the follwing structure META-INFlibcomThis is my manifest.mf file.Manifest-Version: 1.0Main-Class: project.converter.TestClass-Path: lib/converter-actions-xsd.jar;lib/commons-lang-2.3.jar;lib/commons-io-1.3.1.jar; lib/xbean.jar;I run jar file using commandjava 杍ar ...

Java 1.5 update 12 - Can't autodl 1.5.0_12

1218 byte By rob@netplay.co.uka at 2007-11-27 7:02:47
I've updated my JNLP file to try and use Java 1.5 update 12 because this fixes some GUI rendering bugs, so I need my customers to use that version of the JRE.Unfortunately if I specify update 12 then I receive an error, however 1.5.0_11 works ok.Is there somewhere that lists the supported JRE ...

help for java.lang.NoClassDefFoundError:

5224 byte By BCW0928a at 2007-11-27 7:03:15
hi all, i wrote a jws shows the following. import java.lang.*;import java.util.*;/** * * @author bow5003 */public class CalculatorWithDLL {private native float add(float num1, float num2);private native float sub(float num1, float num2);private native float mult(float num1, float num2);private ...

Desktop shortcut is created without user comfirmation

549 byte By sinclair2ka at 2007-11-27 7:04:04
Hi All,I'm using Java 6. My JNLP contains desktop shortcut hint:<shortcut online="true"><desktop/><menu submenu="My company"/></shortcut>Java plugin panel allows to control automatic shortcut creation:- Always allow- ...- Prompt user- Prompt user if hintedWhen I set ...

1.6.0 Cache Viewer "install shortcut" option is disabled

850 byte By tom_a at 2007-11-27 7:04:39
Short Story: The 1.6.0 Cache Viewer does not allow me to un-installed or re-install shortcuts for web start applications.Long Story: We are currently running Java 1.5.0_11 on Windows. We are testing the upgrade to Java 1.6.0_01. After doing the upgrade, clicking the web start shortcut (created ...

2 Client Certificates

1064 byte By Toshi47a at 2007-11-27 7:06:39
I have a WebStart application that is required to use client certificates. These certificates come from a user's Smart Card that gets put into Internet Explorer. WebStart will automatically grab the certificate and send it to the server.My problem comes when there are 2 certificates that fit ...

Restrict Java Web Start to only use Java 5

848 byte By danraka at 2007-11-27 7:07:03
We are currently using jws to download our rich client applications that have been built on top of Java 5. We have found that if a user has Java 6 installed on their pc jws uses that version instead of our preferred version and unfortunately this causes the application to fail.In our JNLP file ...

Web Start sometimes failed launching my app in offline

1944 byte By hirayoshia at 2007-11-27 7:07:11
FULL PRODUCT VERSION :java version "1.4.2_13"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)FULL OPERATING SYSTEM VERSION :Microsoft Windows XP SP2ERROR MESSAGES/STACK TRACES THAT OCCUR :JNLPException[category: ...

When/how does the UNinstaller get called?

4018 byte By AndrewThompson64a at 2007-11-27 7:09:37
This simple demo. of using the ExtensionInstallerServicehas me confused.. http://www.physci.org/jws/application.jnlpIt behaves as I expect on installation.At time of installation, the user is prompted to accept a psuedo 'license agreement'.If they accept it, the application is launched.If they ...

Safari BETA on Windows

922 byte By bsampieria at 2007-11-27 7:12:45
I know it's new beta software still, but has anyone tried and gotten an applet to run in Safari on Windows? (We use object/embed tags.)Safari's plugins directory does have some Java plugin files, but they are not a full JRE, only stub hooks. Yes, I have Java in my PATH and a JAVA_HOME ...

JNLP forward to another JNLP app

522 byte By javaunixsolarisa at 2007-11-27 7:28:36
Since I ran into a bug where the cache gets into an inconsistent state if the user tries to update from the desktop shortcut, my new idea is to make the current JNLP forward to another JNLP (with a different name) so the newly pushed code will be a completely "different" application and I ...

Getting Started in Java programming using PC

241 byte By silvama at 2007-11-27 7:29:35
I want to get started in Java programming on my pc--windows xp. I want to be able to run full tests -- code, run, debug, ...). How would i go about this? What installation is required for this on my pc? Please guide. Thank you.

deployment.properties error - Xms\Xmx args causing JRE cannot be loaded

1537 byte By DennisFa at 2007-11-27 7:32:50
I just installed JRE 1.5.0_11 on a clean XP install. For some reason, whenever I try to specify -Xms256m and -Xmx256m via the Java control panel for the applet arguments, I get the error stating that "The Java Runtime Environment cannot be loaded" then a second stating that "Several Java ...

Unsigned applet and javascript

967 byte By mdahmus2a at 2007-11-27 7:33:07
For various reasons, I need to deploy an unsigned applet which executes some minor javascript. I've been led to believe that the applet need not be signed to do this, but when I try to load my applet, I get the exception at the end of this message.Commenting out the following line in code ...

Error Running JWS

3024 byte By richard_a_wrighta at 2007-11-27 7:34:01
I use the following jnlp to install then launch my application however, it produces and error. Can anyone tell me what's going wrong? Here is the wrapped exception:java.io.EOFException: Unexpected end of ZLIB input streamat java.util.zip.InflaterInputStream.fill(Unknown Source)at ...

Alternate drives in Jar file Class-Path attribute

931 byte By proftodda at 2007-11-27 7:35:46
Hello, all. I am working on a project that I would like to package into a single jar file for simple execution. At my place of work classes from EJB are stored on a different drive from where I am doing the development. I am having trouble accessing those classes from the Jars I am creating. ...

FireFix and Object tag

1438 byte By gambit-77a at 2007-11-27 7:36:26
I have a JRE 1.5.0_11 that I want users of my applet to download/use. But I cannot get FireFox to behave properly.Assume client machine currently has no java plugins.Case 1: using <OBJECT type='application/x-java-applet;version=1.5'...codebase='<url to my jre>' >with ...

Applet doesn't load in IE

1735 byte By eakinmadea at 2007-11-27 7:39:08
<applet code="ptviewer.class" archive="ptviewer.jar" width="300" height="225" align="top"><param name="tiltmin" value="-36.194027" /><param name="tiltmax" value="36.194027" /><param name="pan" value="0" /><param name="tilt" value="3" /><param name="fov" ...

Netbeans 551: Include all libs in project jar file. Possible?

1801 byte By swe-trixa at 2007-11-27 7:40:27
Is it possible to manually, or automaticly, include the /dist/lib directory into my "GonioLabt,jar" to make it more 'stand alone', file wise.Netbeans generates this dist/README.TXT========================BUILD OUTPUT DESCRIPTION========================When you build an Java application ...

JAR file isn't found using java -cp

837 byte By janus141a at 2007-11-27 7:41:46
Hi all!This works:META-INF/MANIFEST.MF:Manifest-Version: 1.0Class-Path: TSA.JARMain-Class: p.Start-which makes my jar file executable (as expected)I need to be able to make changes in the classpath though, so I can change TSA.JAR to e.g. TSA2.JAR, TSA3.JAR etc. This should be obtainable by ...

crash on install of java_app_platform_sdk-5_02-linux.bi

844 byte By BradRubensteina at 2007-11-27 7:43:21
I am unable to install java_app_platform_sdk-5_02-linux.bin on a fresh Fedora Core 7 system (fc7.i386). What am I doing wrong? # ./java_app_platform_sdk-5_02-linux.bin Checking available disk space...Checking Java(TM) 2 Runtime Environment...Extracting Java(TM) 2 Runtime Environment ...

Works fine from a .bat file, but not from a WebStart: spawning off browser

1334 byte By hbquikcomjamesla at 2007-11-27 7:44:00
We've got a slightly modified variant of the June 2001 version of Eric Albert's BrowserLauncher class running in one of our products, and something weird is happening with it:If we run the jar from a .bat file, with either java.exe or javaw.exe, the "openURL()" method of BrowserLauncher works ...

Remote execution via 'Web Start'

453 byte By johngummadia at 2007-11-27 7:44:13
Hi All,I'm an experienced C+ guy, fairly new to Java.I heard that we can launch a Java class remotely via 'Web Start'. In the documentation of 'Web Start' I understand that the Java applications are downloaded to client's machine and then executed on client's box.Is there any way in ...

Possibility to avoid download of JNLP file or to delete it afterwards?

1045 byte By EnlightningMana at 2007-11-27 7:44:35
Hi,I wonder if there is a way to avoid downloading the JNLP file or, to be more precise, I do not want the file to be stored on my user's PC.We have a strategy game application that we deploy using webstart. But in many browsers (Firefox, Safari and some others), the jnlp files always get ...

Trouble launching my Java Webstart application using JRE1.6

2084 byte By pan1234a at 2007-11-27 7:49:47
I have been investigating an issue and would appreciate any advice.We were using JRE 1.5 and our JavaWebStart based apps worked fine. I then installed JRE 1.6 in my PC (windows). Now I can not launch apps using JRE 1.6. Following are the details:I downloaded J2SE 1.6 on my machine, Java ...

SDK running on RH Enterprise Linux 5

198 byte By CaseTa at 2007-11-27 7:52:15
Hi All,While downloading the SDK I noticed in the docs that it's only supported on RH Linux 4. Has anyone installed it on RH Enterprise 5 and experienced any problems?TIA, Case

Writing to a File Within a Programs Own Jar

4786 byte By dshipper@gmail.coma at 2007-11-27 7:56:59
Ok so here is what I want to do. I want my program to be stored in a Jar along with a text file. I want the program to be able to write to that text file, but I'm not sure how to do it.Here's what I have so far:package jartobeloaded;import java.io.BufferedReader;import ...

archieve (ear file)

122 byte By jin412a at 2007-11-27 8:02:40
How to create a java project to ear file that I can put into the container not like Tomcat.Thank you so much

Multiple installs on windows

407 byte By justinlawlera at 2007-11-27 8:08:56
Hi,I have multiple versions of java installed on my machine. I set my path to one version (java 1.5.0_11), but whenever I do a "java -version" at a command line, it comes out with 1.5.0_08.I looked at the windows/system32 directory, and theres a version of java there. How did it get there? And ...

Splash element in JNLP

716 byte By hopia at 2007-11-27 8:10:35
Hi,I was experimenting with getting the splash gif/jpg file from another server. So rather than:<icon kind="splash" href="linedup.jpg"/>which refers to a local .jpg file I put in the following:<icon kind="splash" href=" http://theirsite.com/images/custom.jpg"/>But I don't get the ...

Problem while creating JAR file for my swing application

341 byte By mallik.83a at 2007-11-27 8:14:42
Hi...Using my swings application I am trying to Run different software抯 .My program is Running fine from command prompt. If I create JAR fileIt is giving error like 揊ailed to load Main-Class manifest attribute from .jar?br>Can anybody help me to creating JAR fileThanks in ...

Cannot find application-client.xml

1171 byte By mikedpa at 2007-11-27 8:15:41
Hello.I have an application that runs ok on webstart 1.5. My application contains inside client jar a META-INF/application-client.xml.Despite of this, with webstart 1.6 I get the following error :javax.naming.NamingException: META-INF/application-client.xml not found (see J2EE spec, ...

Getting Web Start to use JDK's javaw.exe, not JRE's

489 byte By invalidnamea at 2007-11-27 8:20:00
On Windows, I need a Web Started app (actually, my <a href=" http://www.glossitope.org/">Glossitope</a> desklet) to run with the JDK's javaw.exe, not the JRE's, because I use the Java Compiler API, which is more or less a no-op in the JRE. I've tried using the Java Control Panel ...

Installation Help Needed - No Way to Run Program

366 byte By modded232a at 2007-11-27 8:22:16
Hi,I downloaded the Java SE Development Kit and the included runtime environment, installed it, but I have no way of running the program. I've reinstalled it once, and checked the Add/Remove programs list in the Control Panel, and it says that everything has been installed, but there is no ...

heap space problem when running from .jar

425 byte By PKenoa at 2007-11-27 8:25:35
hiI have an application, in which i load images, but when they are big i get out of memory error: java heap space.When i run it from the command line i easily avoid this using the -Xmx command. But i would love to start my app from a .jar instead of from the command line. Anyone know a way to ...

Is it possible to use unsigned jar files to launch webstart app in JRE 1.6?

305 byte By pan1234a at 2007-11-27 8:26:33
Hi,Does anyone know if it possible to carry on using unsigned jar files to launch our webstart apps in JRE 1.6 (for codes that run outside the sandbox)?We were able to do this in WebStart 1.5 by editing the javaws.policy file, but we're struggling to do the same in ...