Wow... I'm REALLY Confused

719 byte By Alex1989a at 2007-11-27 1:31:26
ive already read the tutorial on how to create .jar files but for some reason i just dont understand it AT ALL. the IDE that i use is NetBeans 5.5 and they have a function that builds a .jar file of ur project. i then extract the contents of the created .jar file, insert the entry point in the ...

Installing Jre 1.5.05

699 byte By AgentMa at 2007-11-27 1:31:33
Hi I am trying to install the jre 1.5.05 under System Context on XP machines. But I get the following error :-Error 1721.There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. ...

Offline file location for JRe 1.5.05

141 byte By AgentMa at 2007-11-27 1:31:49
Can somebody give me the link for the offline installation file for JRE 1.5.05? or send me the file itself.Thank you very much.

-Xmx256m Option

150 byte By Martin3110a at 2007-11-27 1:34:11
The -Xmx256m is a command line parameter.Is it pssible to set this option direclty from the java source code.regardsMartin

Java 6 JavaCompiler PropertyPermission problem

3464 byte By vimpagliazzoa at 2007-11-27 1:35:57
HiI am using the new javax.tools functionalities to compile on the fly java code. This works fine when run as standalone application, but I get an exception when I try to run through web start. The error I get is the following:error: Could not create class loader for annotation processors: ...

number of jars, where to specify

408 byte By dgherriga at 2007-11-27 1:41:03
I have one jar file that contains the application and there are 22 other jars that are required to be in the classpath. The question is where do I specify these jars? are they added to the <jar href="myjar.jar, myjar1.jar, myjar2.jar, mayJar2."/> If so are they separated by coma's or ...

Win 2003 server crashed after JAVA update!

581 byte By LordXLa at 2007-11-27 1:46:46
Hi,my WIN 2003 server died on the 18th of april 2007 after he received the automatic JAVA update (1.6....?). I was asked to reboot the server to finish JAVA installation but the server only went down. From that moment I wasn't able to boot the server again.I now have access to my harddisk via ...

Problem auto-downloading jre 1.6+

235 byte By galina_gavriloa at 2007-11-27 1:47:04
I have defined jre 1.6 in my jnlp file:<j2se href=" http://java.sun.com/products/autodl/j2se" version="1.6.0+"/>It doesn't work. Could anyone point me valid url for automatic download of jre 1.6?Thanks

JNLP shortcut submenu broken in 1.6u1!

585 byte By mattelkinsa at 2007-11-27 1:48:16
In previous versions of WebStart (eg. JRE 1.5), specifying a "submenu" attribute for shortcut->menu such as "SubmenuA\SubmenuB" in the JNLP file would create the desired submenu structure:StartPrograms SubmenuASubmenuBthe same JNLP app, when installed on an XP System running JRE 1.6.0_1, I ...

How to update under some condition

383 byte By Franziska at 2007-11-27 1:50:49
I have a system used by 8 clients, when something is changed in the system I put it on a server and when the client starts the system in his machine it updates from the server to the latest version.My question is: Is there any way to put some condition in this update? I would like just some ...

[xubuntu linux][firefox 2.0.0.3] applets don't show; empty space instead

329 byte By hooglia at 2007-11-27 1:52:55
after following the instructions at http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html, all i got when viewing a java applet was blank space.everything seems all right when i go to about:plugins in firefox.screenshot at ...

Works standalone but not from web start, "Failed to build body from bytes"

520 byte By dgherriga at 2007-11-27 1:54:26
I have seen this though a number of forums but never seem to get a good answer on whats behind this type of problem. In this case everything works fine when running the application from the command line. However, when running as web start application I get the "failed to build body from bytes". ...

Problem while running JAR file by double click

520 byte By vijay.phalea at 2007-11-27 1:56:53
Hi Allwe have one application jar, in that all the attributes are set well. we have jdk1.3 installed on machine. when we double click that jar file, the application is not getting started( here we have set the path in Tools-->Folder Option--File Type JAR : Open with c:jdk1.3\bin\javaw)but ...

problems with RMI+SSL

865 byte By crazycawa at 2007-11-27 1:58:21
Hello! first of all I've to say I'm from Spain sorry for my english... :)Well, I am trying to run an RMI application (that runs perfect without SSL) but when I try with SSL the error is :RemoteException: java.rmi.ConnectException: Connection refused to host: 172.26.0.2; nested exception ...

Unjarring and Jarring presigned jar and then signing with new certificates

263 byte By Sankar.Ammaiyappana at 2007-11-27 2:02:50
The presigned JARs by Sun. Is it valid to do the following operation?- Unjar the activation.jar- remove the certificates.- jar the files- sign the jar and use it.This is to avoid two pop-ups for accepting the certificate.

internet usage and sites visited.

286 byte By Juresalema at 2007-11-27 2:05:28
Just wondering if you could do me a huge favor. I need to find out if it is possible to create a daily morning report type using J2EE of thing that will show internet usage and sites visited.any one there built such report please. Can I have code exampleMany Thanks

WebStart, Images in HTML from Jar

578 byte By wlenharda at 2007-11-27 2:09:29
Hello,I am preparing a Webstart application and I have packed everything into the jar. In the application, I need to display html in an JTextPane and load images from the jar. This works quite well with f. e. <img src="jar:file:context.jar!/figures/erdbeben1.jpg">. Note that context.jar ...

java -jar / i want to run NOT the Main class

600 byte By king_of_nya at 2007-11-27 2:19:09
hi al, this looks like a little challenge for me now..I have a jar , namedxxx.jar which contains my Main class, let's say Foo.class.So, as of now, if i run java -jar xxx.jar it will obviously run Foo.class as 'entry point'But, without changing the current packaging/manifest, i have to be ...

Packaging and installing a java project

292 byte By java_THE_languagea at 2007-11-27 2:21:20
Hi everyone,I have a java project which has been developed in Eclipse IDE. I would like to package the project so that i it can be installed and can be run as a stand alone product. Any tools that would help me do packaging and installing a java project?Thank you.

JAR file execute but image is missing...

733 byte By servletBoy499a at 2007-11-27 2:21:48
Hi all, i have created an executable JAR file for my java application, but all the images are missing, also it seems that the program couldnt access to directories.....The file structure of my application is: images / open16.gif log / log.txt FileStatusChecker.java FileStatusChecker$1.class ...

Update a manifest file in Jar with code (not jar command). Urgent

262 byte By yiha at 2007-11-27 2:34:20
Can someone provide me a solution/sample code to do the above mentioned task?Do I need to rebuild the jar with a new manifest file? If yes, how can I retrieve other files inside the original jar & put into the new one?Thanks...Yih

How to download a property file using webstart and jnlp

779 byte By Prakash_Halana at 2007-11-27 2:34:39
hi all ,my problem is something like this I have a java application which supports internationlizationit supports three languagesi have three files for three languages .Actually if i bundle these three file in my jar file i don't have any problemBut i want the user to access these file and ...

How do I know what keys in deployment.properties are supported in JWS 142

709 byte By AlvanChena at 2007-11-27 2:37:19
HI,I'd like to use the user authentication function in JWS, but I wonder if deployment.system.security.trusted.clientauthcerts is supported in my jre 1.4.2. How do I know this? I know this property key in a jre 1.5 document: ...

urgent help needed..

246 byte By anilsdomaina at 2007-11-27 2:37:52
Hi,.....for deploying a java application on a client system i need to check whether JMF is present on the client's system,as the application make use of JMF.So,how should i do this checking stuff through my application. Anil

JWS shortcut launching the old version of the application

303 byte By Sankar.Ammaiyappana at 2007-11-27 2:39:36
Hi,A shortcut was created for a previous version of our application.Then a new version was installed in the server. When the client used theshortcut to launch the application, it still pointed to the old version.Could anyone please explain this ...

Jar question

555 byte By jeanberna at 2007-11-27 2:40:40
I have a program that runs inside eclipse and works perfectly, handling all exceptionsI made a jar using: jar cvfm classes.jar manifest.mf.txt Coder.classCoder is the only class I use and it is properly done in the manifestwhat can I do to make this jar runnable from windows, like an executable ...

Who can get this "biology fly lab" working!?

261 byte By starsa at 2007-11-27 2:41:07
It is at:biologylab.awlonline.comI had a look at the java console and it stops at:allparts.gif is not a binary fileIf someone knows what I can do to get it working that would be awesome. It gives you a trial version for a day.

Some prolems when trying to create Jar file...

1123 byte By Gurluvera at 2007-11-27 2:43:22
Hi,I've got a list of *.class and a folder images and Start is the class I want to be the entry pointI tried:1. jar cfm MyApp.jar Manifest.txt *.class imagesIn Manifest.txt has a line: Main-Class: Startthe jar file is created, but when I tried to run (both double click and command line) this ...

Windows Shortcut to JAR

836 byte By phalkonea at 2007-11-27 2:44:22
I've searched a long time for this and I really can't find the answer. I distribute my program as a zip file with three folders, namely bin, sources and javadoc. The bin folder contains the jar file and a custom ico file. I'm used to Unix-like systems so I created a simple shell script which ...

Webstart unable to pickup latest dependency jar file while i click shortcut

3345 byte By Surya_Fidelitya at 2007-11-27 2:45:14
Hi All, I am new to webstart.....Webstart unable to pickup latest dependency jar file while i click shortcut..My Application Summery: I have built the swing jar application (uam.jar) and dependent jar files are located in lib folder (lib/*.jar) these jar file are database jar and some external ...

To be included jar path containing white space....

1187 byte By sudiplovesyoua at 2007-11-27 2:48:37
hi,I have develop an application which is linked with some jar files at run time. Now those jars are in my application directory and as I have put my project in path c:\program files\proj(which contains white space) so while running the application its producing following error:Caused by: ...

New things in the cache?

310 byte By Pascal_Rapicaulta at 2007-11-27 2:51:40
Hi, I have an application starting with jnlp. I would like to know if there is a way to find out whether the application is running from jars previously cached or if new content has been donwloaded. Note that I don't need to know about the details of what changed.Thank you, ...

v1.5 app fails with "Cannot find cached resource" in v1.6

3520 byte By henrikaxa at 2007-11-27 2:52:00
After upgrading to v1.6 my application cannot start (after importing the jar files manually into the cache). Unable to launch application Error: Cannot find cached resource for URL:http:/server/jar1.jarThe application is supposed to run online as well as offline.When running online I want the ...

Java Deployment to network computers

162 byte By jaymehalla at 2007-11-27 2:52:25
Hello,Does anyone have a walkthrough on deploying the Java Runtime to a network via Microsoft SMS? What is the best way to deploy Java?Thanks

Question about jar functionality

517 byte By ner0a at 2007-11-27 2:52:35
I have a jar with a bunch of classes in it, and they were compiled with specific class paths on another machine. I want to add another class to this jar, so I extracted the files and added my class and repacked the jar, under the same file structure. I assume that doing this has zero effect on ...

Not getting HotSpot dump

215 byte By MyJavaStuffa at 2007-11-27 2:56:50
Hi,My browser crashes intermittently when applets are running. However, I am not getting hotspot dump! How do get it always?I am using IE6 SP1, Window 2000, Java 1.5.0 update 7_b03Thanks!

Relative Paths - Quick Question

580 byte By mrgordona at 2007-11-27 2:57:26
I finally got everything to work with Java Web Start but now I have a minor problem with the way it handles relative paths. At one point I use:new File(someString)where someString is a relative path to an XML file inside the JAR. It works fine when I run the program in Eclipse but when I run it ...

JAR doesn't execute correctly

656 byte By myceriusa at 2007-11-27 2:57:44
I have created a jar file using NetBeans 5.5. When I try to run the jar file outside of the IDE it does not display correctly. All that shows up is a window bar with the 3 normal buttons (minimize, maximize, close). It uses 3 external jars (j3d jars) that are in a sub directory to the one my ...

generating the jnlp file on the fly

2165 byte By hopia at 2007-11-27 2:57:57
Hi all,I have a working jnlp file with an embedded username and password arguments in the application-desc section that launches from my .shtml file (cited below). During development the username and password have been hardcoded into the .jnlp file but I want to be able to have a real user log ...

Download Error Exception in 1.6. Works in all older versions.

2779 byte By wi_nia at 2007-11-27 2:58:30
I had some customers complaining that Java Web Start stopped working after upgrading to Java 1.6. I got the following after I upgraded.JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)at ...

j2se patch 118666-11

235 byte By dye60a at 2007-11-27 3:01:10
I installed this patch and now I get errors.java.lang.NullPointerExceptionI install Solaris 10 11/06 This patch does this every time. If I remove it, all works fine.Can someone help me on this please.

Cryptic jar file names downloaded by Java Webstart in JRE 1.6

1093 byte By ASandesha at 2007-11-27 3:02:08
We have encountered a few problems in Java Webstart with JRE 1.6In JRE 1.5, the jar files are getting downloaded onto the clientmachine with it's original names.Example :Server File Name : acm.jarClient File Name : RMacm.jarBut in JRE 1.6, the jar files are getting downloaded with improper ...

nested JARs

266 byte By STFa at 2007-11-27 3:04:09
How to make nested JARs?I read that it is not possible - in order to load class files stored in such nested JARs one would have to implement his own classloader. But those were several-year-old posts.Is the situation different now?Thanks.

multiple key-value pairs in JNLP file

1472 byte By agoela at 2007-11-27 3:05:35
Dear All,I have a JNLP file with multiple key-value pairs :<resources> <j2se version="1.4+"/> <jar href="lib/myFile.jar"/><property name="url" value="URL/db"/><property name="default" value="10"/><property name="m1_query" value="URL1"/><property ...

how to protect Executable jar with username and password

209 byte By harisubramaniana at 2007-11-27 3:10:53
I have a jar but i have to protect my jar from unauthorized acess.So i need to protect it by using the username and password.Is there any way to put username and password in manifest file.

Error while deploying struts application

4561 byte By ng@a at 2007-11-27 3:11:13
Hi every body,I am new for struts application. While i deploying my application, the following error is comming any body give a remedy to me...Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error--type Exception reportmessage Internal Server Errordescription The server encountered an ...

WebSphere RAD 7.0 Tips & Hacks - How to add a JAR file to J2EE EAR

1745 byte By Vassilycha at 2007-11-27 3:12:29
Hi,After several days of frustration and getting runtime "NoClassDefFoundError" exception or deployment "Cannot be published on the Server" I finally got it. Hope it will save you some time too.Setup: WebSphere RAD 7.0.0.1 (note that the previous version of WSAD did not have that problem) using ...

where to find weblogic.management package

234 byte By santhosinia at 2007-11-27 3:14:04
serverConfigInfo.java:3: package weblogic.management does not existimport weblogic.management.MBeanHome;I am getting the above error while excuting the code. from where should i import weblogic.management package?

loading libraries from within a jar file

806 byte By king_of_nya at 2007-11-27 3:15:17
hi all, i am working on an application that was developed using jdk 1.4.the app was packaged in a jar file, which was including also all dependent libraries (such as log4j etc..).the app was launched by using java -jar, and it has alwasy workednow i had to rewirte it using java 1.5.. and when i ...

How to get a platform-dependent Image from JNLP?

852 byte By java_knighta at 2007-11-27 3:15:29
Hi,I've read (not yet tried) that to load an image from a JNLP file it is necessary to pass from a classloader: in the case of an JInternalFrame, instead ofsetFrameIcon(new ImageIcon("src\\icons\\image.png"));is necessary to use setFrameIcon(new ...