How to use two different versions of the same jar within one project

475 byte By stegotsa at 2007-11-26 17:50:00
Hi everybody!I have a big problem while integrating different web service clients within one bigger java project. Both implemetations need some jar files to work but demand different version. So, i would like to know if there is any way to tell which implementation should use which version! ...

JRE upgrade question

395 byte By java_help10a at 2007-11-26 17:50:41
Hi,I am trying to upgrade from Java 2 Runtime Environment, SE v1.4.2_05 to Java 2 Runtime Environment, SE v1.4.2_13 via SMS. Do I have to uninstall Java 2 Runtime Environment, SE v1.4.2_05 before I install the new Java version? Or can I just install the new version on top of the old one. What ...

Using pack200 to compress 1.4.2 jar

234 byte By jgreena at 2007-11-26 17:51:11
I have jars that are compiled with 1.4.2 flags, but I would like to compress the jars using the pack200 utility that comes with 1.5. Empirically, this seems to work fine. Has anyone run into any issues doing this?Thanks.

JAR's

164 byte By FreVdha at 2007-11-26 17:53:32
Hi,I made a program and I want to run the jar on another computer. Does the computer need to have the same runtime environment as mine?Frederik

JNLP loading oddities

483 byte By SilverSystema at 2007-11-26 17:54:16
hi,I have a webstart application running on a tomcat server and it runs fine. But i have just loaded it onto another server and when i click on the link to the .jnlp file, rather than invoking webstart, it just displays the contents of the .jnlp file in the web browser!?I have tried to remedy ...

How to add actionlistener to a JAR

5327 byte By Bemoa at 2007-11-26 18:04:09
Hi and thanks in advance to all people who contribute.I want to package a gui component so that I can use it within Netbeans. I have managed to do this with the actionlisteners and anction performed methods within the JAR package.How could I have an actionlistener detect the events occuring ...

problem with clustering with JBoss serverhelp needed

1387 byte By abhiramia at 2007-11-26 18:05:06
Hi,Its a HUMBLE REQUEST TO THE EXPERIENCED persons.I am new to clustering. My objective is to attain clustering with load balencing and/or Failover in JBoss server. I have two JBoss servers running in two diffferent IP addresses which form my cluster. I could succesfully perform farm (all/farm) ...

How to download .dll file using JWS

252 byte By ShishirKa at 2007-11-26 18:08:40
Hi All,I have a custom browser (.dll file), which I'm calling from java code.I want it to get downloaded on client machine, using JWS.How can I go about it?Is it possible to do that or not?Please guide.

filenotfound exception

1676 byte By billmcga at 2007-11-26 18:13:09
I am using tomcat 5.0 and keep getting a filenotfoundexception when I type in the url http://localhost:8080/Validation.jnlp (where Validation.jnlp is the jnlp file. The exception reads: java.io.FileNotFoundException: http://localhost:8080/Validation.jarI have both the Validation.jnlp and ...

jws can not work!!!!

2164 byte By sb_online007a at 2007-11-26 18:15:29
Hi , Every body ,,, I have a serious problem .I have created a swing application , and the database is db2 . I have connected db2 with jdbc type 4 driver, coz i want to run my application on a remote pc.When i run my application from aremote pc it's ok , but I want to run it with the help of ...

Stray jnlp files get cluttered on desktop when using Safari on MAC

321 byte By venkatua at 2007-11-26 18:18:17
We are using jdk 1.4 webstart and safari browser on a mac machine.Once the web start begins a jnlp file gets downloaded on to the desktop. This happens each time the webstart begins. Is there any workaround such that these files don't get downloaded at all or gets deleted once the web start ...

stray jnlp files gets downloaded onto the desktop when using Safari on MAC.

427 byte By venkatua at 2007-11-26 18:18:19
We are using jdk 1.4 webstart and safari browser on a mac machine.Once the web start begins a jnlp file gets downloaded on to the desktop but does not get deleted. This happens each time the webstart begins thus the desktop is cluttered with stray .jnlp files each time web start is used. Is ...

JWS + Https

490 byte By afidaa at 2007-11-26 18:20:50
All -Our application is WebStart based app runing with Https. But we can't get it work as we are getting following error, javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: ...

No luck with JAR's

865 byte By JOzzieTa at 2007-11-26 18:21:55
Im having no luck with packaging my app as a JAR at all, just a massive headache.Im using eclipse to develop the app in and have tried to export the app to a JAR and have added the correct main class (CustomCell). When I execute the JAR file I get the error: "Could not find the main class. ...

want to package a class file and a jar file in main jar file

824 byte By m_kadiaa at 2007-11-26 18:23:39
hello folks,i have a class named launch.classand a jar file named First_Sample2.jarFirst_Sample2 is an application that i have made which requires more memory than is generally allocated by the JRE. so, launch.java file just contains code to execute the command:javaw -Xms128M -Xmx256M -jar " + ...

Run App On OS Startup

719 byte By mrgordona at 2007-11-26 18:23:53
I'm looking for a way to run a Java Web Start app on OS startup. I don't think it's possible to implement a cross-platform solution, but any help on even a single OS would be awesome.I've mostly worked on getting it to run automatically on Mac OS. I put a .plist in /Library/LaunchAgents and ...

running a webstart app in windows bootup

212 byte By JohnDunnea at 2007-11-26 18:25:38
Is there a way to get the path to the jnlp file from within the webstart, that executed the webstart app? I want to insert the jnlp into the windows registry so it runs on boot up.Thanks in advance.

resource files is being picked from user's desktop and not from jar file

883 byte By gshankar@ipolicynet.coma at 2007-11-26 18:25:58
Hi,I have come across with a problem while running my application using web start. I am having a .txt file in a jar file...and the link to this jar file has been specified in the jnlp file.Now, i am loading the .txt file using this code :ClassLoader cl = ...

How to find whether an application is installed or not

275 byte By Prakash_Halana at 2007-11-26 18:26:05
Is there any way to find whether an application is installed or notand the path of the installed pathI got that with executing reg query from my java aplication but for thatreg tool should be installed ..Is there any way to get without that

Why Java Web Start doesn't support Pack200 out-of-the-box?

867 byte By mkurala at 2007-11-26 18:28:13
Hello All,Why Java Web Start doesn't support Pack200 out-of-the-box? I was hoping that Java 6 would make things easier by adding direct support for Pack200 in Java Web Start and JNLP without needing to use servlets, etc.? All my clients are Java 5 or above so I can't push the Pack200 ...

Error in running java 1.4 patch 13 on solaris sparc 5.6

434 byte By JaiRamJiKia at 2007-11-26 18:29:28
Has anyone encountered this problem in using java 1.4_13 on sun solaris . Installation is fine but when running java I am getting this error dl failure on line 732Error: failed /j2sdk1.4.2_13/jre/lib/sparc/client/libjvm.so, because ld.so.1: /j2sdk1.4.2_13/bin/java: fatal: relocation error: file ...

ClasDefNotFound Exception

1844 byte By jayagopalana at 2007-11-26 18:30:49
HI all, I am using Java Web Start 1.4.2_05 for deploying a Java Application.I have added all the necessary jar files in the jnlp.But still, JWS always throws an exception ClassDefNotFound for javax/Helper/HelpBroker.following is the Error in log file,Logging to file: ...

install jnlp for all user in 1 PC through web.

412 byte By anoldguya at 2007-11-26 18:32:14
Dear all,Any clue how to install the jnlp under directory like C:\Documents and Settings\All users\Application Data\Sun\Java\Deployment\cache.......rather than C:\Documents and Settings\"User Name"\Already tried to set the <property name="deployment.user.cachedir" value="C\:\\Documents and ...

bad version number

498 byte By RogerFGay1a at 2007-11-26 18:35:20
I have tomcat 6 and newly installed updated jdk. My old apps from another machine and Tomcat 5 / earlier jdk work fine. But when I recompile a java servlet .... the app won't deploy.Can someone tell me what's going on from the error log?I can see that it ...

JNLP from jars and other files and folders

574 byte By Asbestosa at 2007-11-26 18:35:25
Hi all,I recently downloaded an application (open source) that came with a bunch of .jar files,. including a couple in another folder, and a couple other files that the jars need to read to start up.I want to bundle this all into a JNLP. Is there any way to do this with these various other ...

First jnlp application -not running-please help-beginner

1211 byte By mayajavaa at 2007-11-26 18:35:55
All,I have a simple application where I do a System.out.println statement in the main method. When I run the application through Tomcat 5.0 why I am not seeing the println statement getting printed in the console ? How can I say whether its running ? Here are my files: please help. public class ...

jar And WebStart I'm desperate i 've tried everything

497 byte By epp646a at 2007-11-26 18:36:23
I have an application which is downlodable with webstart. I cannont load any image. I' ve tried everything.I have a static class ImageLoader which loades imagesfrom a folder in the same directory(/images/...GIF). I dont know what is going on and i cannot load any image from the jar file..Tha ...

Java Web Start Deployment

766 byte By creative_pragmatica at 2007-11-26 18:37:45
Hello,In Netbeans (with Sun Java App Server 9), I am able to deploy a simple "Hello World" Java client to the server and run it using a JNLP but when I try to deploy an application that includes a DatePicker control that is not part of the standard Java 5 SE library, it fails when I attempt to ...

combining and compressing javascript files

527 byte By ks_kreca at 2007-11-26 18:38:58
I combined all my javascript files into a single file and then compacted them using JavaScript Minifier (JSMin). I then gzipped the compacted file. so finally, the file name is allJs.js.gz. I did all this manually in java. I used the following in my jsp.<script src="allJs.js.gz" ...

One jar is not loading FailedDownloadException

1933 byte By AnneRezoa at 2007-11-26 18:41:08
Hi all, We have been developping an application: one server-side which is deployed with SJAS 8, and a cliient-side part which is an applet launched with JWS. Cleint and server communicate via JAX-RPC. Everything works fine on a Linux or on Mac OSX, but on Windows one of resources is not ...

Upgrading Java versions for DST fix -- what to do?

953 byte By sdaconsultinga at 2007-11-26 18:41:54
Our team has decided to migrate our production servers (about 50 of them) from 1.4.2_02 to 1.4.2_13 to fix the DST issue. The servers host the JDK instead of the JRE for a variety of reasons.My question is: How do I physically perform the upgrade? I have the windows 1.4.2_13 install package. ...

Is javaws and jnlp a good choise for my solution?

1144 byte By _Blancoa at 2007-11-26 18:45:27
Hi. I've just started to investigate if java web start could be a good strategy implementing an old (hobby) project of mine. Currently the solution is made up of a quite large applet that are launched from a web application residing on a tomcat server. I feel I've abused the "situations where ...

could not find classpath ,,,,,,,,,,,,

2628 byte By sb_online007a at 2007-11-26 18:52:10
Hi every body ,,,I have a problem in JDBC.I have created a swing application where database is db2 ,Icreated a jar executable , of that swing application . Now when I run my application in command line it's ok ,,,, it is running fine but when I try to run my jar(executable) it is running but ...

Program could not compile

789 byte By zhangMina at 2007-11-26 18:55:17
When I try to compile, I get numerous lines of errors such as below:D:\j2sdk1.4.2_13\src.zip(java/lang/Object.java):20: class Object is public, should be declared in a file named Object.java(source unavailable)...100 errors206 warningsThere were no errors during installation. When I query ...

Crystal Report and Web start

172 byte By fredra at 2007-11-26 18:56:17
Has any used CR with Web start? I have a desktop app that uses Crystal report and I would like to use web start to deploy it. Any help is greatly appriciated.

Windows Vista and JRE auto-install

217 byte By ot6a at 2007-11-26 18:58:18
Hi there,Is Java runtime auto-install not working in Windows Vista? I had a case where my webstart application doesn't run because Java Web Start is unable to automatically download and install JRE 1.5.

Update application without restarting the program

495 byte By MABorka at 2007-11-26 19:00:00
HiI am developing an application that is supposed to run as a service on the users PC. We are looking for at way to make automatic updates of the applications. Is it possible to update a webstart application without restarting it - is there any command that can be called from within the program ...

Applet and JavaWebStart on one site - same virtual machine?

1380 byte By szczypiora at 2007-11-26 19:00:11
Hi!My and my collegue have developed an application. The main entry point is a simple web site, which contains an applet and several JWS links on the same page. All of the components are signed. The applet and the rest use the same file along the way (reading and writing), so we use FileLocks ...

JNLP run fails!!!!!!!!!!

1502 byte By sb_online007a at 2007-11-26 19:00:38
Hi every body ,,,,I have a serious problem , to run JNLP file .I have created a Test.jar(executable) file , which connect to db2 remote database. When I double ckick on that jar it runs fines , but when I add my Test.jar file into the jnlp file it could not connect to the database ,and web ...

Applets and memory not being released by Java Plug-in

6223 byte By neologicaa at 2007-11-26 19:01:38
Hi.I am experiencing a strange memory-management behavior of the Java Plug-in with Java Applets. The Java Plug-in seems not to release memory allocated for non-static member variables of the applet-derived class upon destroy() of the applet itself.I have built a simple "TestMemory" applet, ...

mail.jar

188 byte By soumayaa at 2007-11-26 19:02:18
i want to test apache soap samples; i've installed apache, jdk, apache soap and i've always a problem with mail.jar (java.lang.NoClassDefFoundError: javax/mail/MessagingException)

Auto download from internal servers?

377 byte By davidjwarda at 2007-11-26 19:03:52
How do I setup an internal server to provide the JRE for auto download?Our web start application runs on an private intranet with no internet access.I need to know what files need to be loaded on the server. I understand that the .cab file is one of them. What are the other files that need for ...

How client, deployed using Java Web Start, to communicate with server

722 byte By Chieflorda at 2007-11-26 19:06:39
Hi Everyone,I need help for solving the communication problem between client and server (the client is deployed using Java Web Start).I am implementing a project in which the client will communicate with the server (locates on different machine) for retrieving / saving data from and to ...

RCP - jacob.dll

1887 byte By elo_nitrama at 2007-11-26 19:07:58
Hi!I'm trying to make an eclipse rcp using the jacob.jar and jacob.dll.When the application is distributed by webstart, the assembly jar installed on the client machine does include both jacob.jar and jacob.dllHow do I make a reference to the dll a) on my developer machine and b) how does the ...

Scripting applet and security permissions strange behaviour

3065 byte By ivan_ka at 2007-11-26 19:09:08
I have a following problemI need to use JFileChooser in Applet. Applet is signed, of course. When I call JFileChooser from method invoked from applet's GUI everything works. But when I call JFileChooser in public method called from javascript in browser the AccessControlException is thrown. ...

Disable parent screen on popup

500 byte By DevendraSobhania at 2007-11-26 19:09:58
I have 2 html pages, parent.html and child.htmlon clicking on a button in parent I make a call to a javascript functionwhich opens child.html (popup)I want to disable parent.html when child.html is displayed and I have a text field in child.html whose value I want to use after the popup is ...

verifying tampered jar

655 byte By barry_345a at 2007-11-26 19:16:28
I build a system that have client and server side. I am now using java web start to deploy the client part to the client machine.I will sign the jar file. However, I quite concern whether the java web start can verify the signed jar file which is not tampered by the user. One case I think of is ...

plugin and exceptions

342 byte By dgarci2a at 2007-11-26 19:19:28
I created a plugin that extends the popup menu. It was all working correctly. As soon as I add the FileOutputStream and add the try/catch block then it stops working. The popup menu comes out but when I click to run my code it says the service is not avaible at the moment. If I delete those ...

Contents editing of Java archive

675 byte By im_losta at 2007-11-26 19:19:47
http://d.turboupload.com/d/1552681/upload.zip.htmli got the jar file and wanted to edit the contents and put it back then run it again. So I came across a error. The inside of the jar file is protected so u decompile it to source code but then how to compile the source back to the way it was to ...

Java Web Start

622 byte By alicheikhalia at 2007-11-26 19:21:28
Hi,I"m new to using Java Web Start, i have built a basic applicatino in java, and when i try to run my application using java web start i get the following error message: first screen: Unable to launch the specified applicationand when i click on details i get the following :An error occurred ...