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 ...
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. ...
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.
The -Xmx256m is a command line parameter.Is it pssible to set this option direclty from the java source code.regardsMartin
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: ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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". ...
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 ...
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 ...
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.
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
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 ...
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 ...
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.
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 ...
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
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 ...
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: ...
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
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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: ...
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, ...
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 ...
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
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 ...
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!
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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.
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 ...
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.
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 ...
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 ...
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?
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 ...
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 ...