I've just installed javaSE 5.0 update 10 to my Windows XP OS. I tried the verification from the command prompt but it acts like it doesn't exist. Should the install have been saved to my hardDisk or run from the DL location? I chose the run option. Please advise. Thank you
825 byte By
rojmaba at 2007-10-3 11:12:53
Alright, I have my program packaged up in a .jar file. I have figured out how to access images that are in the .jar ImageIcon nextImage=new ImageIcon(Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource("next.png")));That works well.Now, When the program loads, I would like it to ...
105 byte By
kc81a at 2007-10-3 11:14:17
please,how do i use my own custom icon on a jar file instead of the jar file icon.thanks indvance.
hi,i am using a executable jar file to run my program. Its working fine on my machine but when i run this jar file on another machine, it does not work.Its a swing application which display the datas from a abc.csv file.When i double click on its jar file on my machine its working fine but not ...
I was just looking at sec. 3.7.2 of JNLP Spec.(sorry, I don't know of an online ref.) about 'Installer Extension's..main-class attribute: The name of the class containing the public static void main(String[]) method of an installer/uninstaller for this extension.I am curious about the ...
there is a link like this:<a href=" http://localhost:8080/jwstest/apps/aaa.jnlp"><font size=6 color=yellow>click here to enter </font> </a>in a jsp . the aaa.jnlp is like this :<?xml version="1.0" encoding="UTF-8"?><!-- file Hello.jnlp --><jnlp ...
JNLP file<j2se href=" http://java.sun.com/products/autodl/j2se" version="1.4.2_13"/>error11 Could not locate requested versionJNLPException[category: DownloadError : Exception: null : LaunchDesc: null ]at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)at ...
419 byte By
mejw01a at 2007-10-3 11:20:38
Hi,I have an application which consists of two JAR files. JAR A uses methods from JAR B. Is there any way I can protect my code in JAR B from a user reverse-compiling it? I could use an obfuscator to make the code harder to read, but is there any way of making the JAR file useless to someone ...
hi , Andrew, thanks againuser login in the first JAR file, checkthe username and password,if they are right , causes the second JAR file to run.
Hi,I want to share a problem with this community and try to shed some light on this.We all know that an applet loads slow when the JVM loads for the first time or when an applets JAR gets loaded. Fine and not the problem here.However, applets load too slow when loaded again during the same ...
351 byte By
dygeta at 2007-10-3 11:23:49
This thread is to clarify a previous thread.In JNLP is there a directory that gets created when a program gets installed, it is never cleared by JNLP while the program is installed, and, upon uninstallation of that program, that directory gets completely cleared of all files, not just jars, or, ...
123 byte By
hc827a at 2007-10-3 11:30:33
How to find out jre is enabled or not in browser settings, irrespective of browsers(IE, firefox, mozilla, netscape).
273 byte By
cyphexa at 2007-10-3 11:32:57
Well i am using netbeans for a project of mine!I have finished most of it but when i built my project to create a JAR file , the JAR file is created but no manifest. i tried to create a jar from command line but stil the same problem!Any ideas?
Hi,I deploy JRE on my Windows Workstations for most a year now with this command line jre_install.exe /S /v" /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 JAVAUPDATE=1" It was perfectly working on Workstations with restrictive user rights.But since I download jre-1_5_0_09-windows-i586-p-s.exe the ...
761 byte By
rojmaba at 2007-10-3 11:33:41
I'm not sure this is possible, and I'm starting to think it isnt, but here goes:I would like to package my app and all supporting files into a JAR file. The program has 2 text files that it loads values from when it starts, and then rewrites the text files when it exits. I'm only using text ...
Hello there,Help needed with Web start debugging and consoleI am using JRE - jre1.5.0_07 on Windows 2000.I am able to download the jars and then am asked questions related to certificates.But after that, java console comes up and then abruptly disappears. Hence, I do not know what is wrong with ...
Hello,I have an application that I launch with JNLP that I am trying to replicate to some other servers.The "resources" tag in my JNLP file has some property settings and then all the signed jars. There is also an "extension" tag with a JNLP file that includes some unsigned jar files.I am going ...
3426 byte By
huala at 2007-10-3 11:36:12
Hi I tried to webstart my applet using this jnlp file with IPv6 address in the code base. 1. If I replace the IPv6 address with the DNS that point to that address, the jar file will download2. if I copy the codebase value to the IE7 URL address field, the jar file download too.Need to find out ...
Hello guys,I'm making a application which is launched by Java Web Start, and needs to write a report to a local file and to the printer.I would like to format the report with HTML.I see that Java supports many file formats that can be easily printed, like plain text, PS, PDF, HTML, PNG, etc... ...
Why doesn't autodeploy work?Windows XpSun 9.0_01 build 14using https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/download.html#examples - a4j-selectList example as isI no instance to I actually access the a4j-selectList app. I simply am trying to redeploy. Same issue for other apps I am ...
1413 byte By
bumperta at 2007-10-3 11:41:29
Hi,my title is not so meaningfull of my problem but i wasn't able to tell it into one phrase. So, my application currently use Java Webstart. I have many others files like images, textures, sounds, ... that i put manually on computer and by a homemade process i update when it's time too and ...
Hello,is it possible to allow only one instance of my program? It is pretty big and it starts several seconds. I would like to allow users to open documents by clicking on JNLP links (which could open in the one unique instance of the program).Thanks
776 byte By
NVKa at 2007-10-3 11:45:01
Hi, We are in the processes of upgrading the JDK versions on servers to JDK 1.4.2 to support other software upgrades. The JDK versions on each of the servers are at different versions. On one of the servers, the version of JDK is currently at JDK 1.2.2_10. Can somebody please advise me if there ...
135 byte By
Etrigana at 2007-10-3 11:46:48
Hello!Is there a way to block user to start more than one application instance?Thank you all!Fabricio Braga
900 byte By
Nethera at 2007-10-3 11:48:15
Hi,I have been putting links to jar files on my website, and I just decided to use java web start because Internet Explorer tries to download jars as zip files.Here are the directions I found on the site: http://java.sun.com/developer/technicalArticles/Programming/jnlp/First, create the JAR ...
I have tried to change the default shortcut icon in my jnlp to myicon and I can't seem to get it to work. Can someone tell me how to get the shortcut on the desktop to display my icon. Yes, I could go to the os and change it, but I want Java Webstart to load my app on the desktop as a shortcut ...
Hi all,I have class instance on which when I call getClas().getClassLoader(), it returns me null. From the API documentation, I found that the value 'null' can be returned for bootstrap class loader. My application was run through Webstart.1) I wanted to know what is the bootstrap classLoader ...
991 byte By
casimira at 2007-10-3 11:53:18
Hi, i have tested Java Web Start with several Java Applications and it works fine.Now I have an application that uses JNI, starting it with eclipse works but with Web Start it doesn't.I create a jar file including the native libraries and signed it. in the jnlp file I specify it ...
Hi,My application creates local files at client computer. I want to clean them upon application uninstall. How can this be done?Thanks in advance
I wrote a webstart app that extracts itself to a local directory and runs, using java 1.4/1.5 i.e. it finds the dir:C:\Documents and Settings\<username>\Application Data\Sun\Java\Deployment\cache\javaws\etc.However, under java 6 it now cannot find the local cache of the webstart jar.I was ...
1098 byte By
devals9a at 2007-10-3 11:54:49
Hello,I just downloaded IE7. Earlier on IE6 i had a javascript to detect whether java webstart is installed or not. It is used to work properly. Now that script is not working for IE7. It cannot detect Javawebstart now.if (isJava5IE() || isJava5FF()) { document.formToCallJSP.submit();}else if ...
156 byte By
myjavapa at 2007-10-3 11:56:32
Hi Dear All,I am new with JAR files, I know concept, but dont know how to careate JAR, and how do i use it?Please help me.Thanks
54 byte By
myjavapa at 2007-10-3 11:56:52
PLease help me.how do i execute jar file
I am using Eclipse SDK 3.2 for exporting my swing application. I am using an external library as well that i have added into my project. The application doesn't have any errors and i am able to export it to a jar file.Earlier i was able to export the file and when i executed the jar file my ...
Hi all,When i click on the URL which has the location of jnlp file.the browser return code 403 i.e forbidden saying "you are not authorized to access this page".What could be the reason.Please express your views.with regards,ajse
twenties = twenties - twentiesToDispense;tens = tens - tensToDispense;fives = fives - fivesToDispense;System.out.print("Please take your money: ");System.out.print(fivesToDispense + " fives, ");System.out.print(tensToDispense + " tens, ");System.out.print(twentiesToDispense + " ...
twenties = twenties - twentiesToDispense;tens = tens - tensToDispense;fives = fives - fivesToDispense;System.out.print("Please take your money: ");System.out.print(fivesToDispense + " fives, ");System.out.print(tensToDispense + " tens, ");System.out.print(twentiesToDispense + " ...
Error message while starting the java web server 2.0C:\Documents and Settings\Admin>httpdProgram C:\JAVAWE~1.0\bin\..\jre\bin\jre.exe exited with code -1073741674C:\JAVAWE~1.0\bin\..\bin\jserv.exeC:\JAVAWE~1.0\bin\..\bin\jserv.exejserv: Shutting down the serverProgram ...
37 byte By
Terrax at 2007-11-26 12:03:56
sMessage was edited by:
Every time I go to do something interesting with web-start,I find myself reaching for the JavDocs or the JNLP Spec*..* http://java.sun.com/products/javawebstart/download-spec.htmlTogether, they cover most of what is worth knowing about web-start (for most people's need).Unfortunately, when ...
Normally I confine my forumn entries to answering what questions I can, and the constant availability of every weekly build of JDK 6 means many of the forumn readers here have already tried using Java Web Start 6.0 for some time, but now the GA is available for Java Platform Standard Edition 6 ...
hii have written a program to do serial port communication in java using the javax.comm package. The program runs fine in the normal windows console. I want to run the same program in eclipse 3.1.2 for windows. The javax.comm package has 3 files that need to be added.Can some one please tell me ...
Hello,How can I set up a java web start application on an intranet environment? Currently when I try to run my application it tries to download the java runtime from java web site.I tried to set up a jws auto installer on my local server according to the samples provided with the jdk (1.5) i ...
Hi.We are having a web application for which there is one offline version also. We are using JWS for downloading the jar files from server side to client side that contains all the classes that needs for running the swing application. All the jar files are signed but still while downloading ...
Hi,I have 2 problems with this fileOpenService. Firstly choosing the details button in the dialog box and then choosing to sort on the modified date does not work?Does anyone know a work around for this or a way of removing the details button?Secondly, I want the fileOpenService to be ...
231 byte By
t_forcea at 2007-11-26 12:26:13
In webpage http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/launch.html, you speak about http://java.sun.com/update/1.6.0/jinstall-1_6-windows-i586.cab but this file doesn't exist on web site
1301 byte By
SmurfZGa at 2007-11-26 12:28:55
Hi, I'm trying to create and run a jar from my application, but I can't figure out how to properly set an entry-point. Looking at the Java Tutorials http://java.sun.com/docs/books/tutorial/deployment/jar/index.html I still can't get it to work.I have a directory myApp, which contains a ...
803 byte By
mich6d2a at 2007-11-26 12:35:38
Hi all,I'm trying to change the default value for the "javaplugin.maxHeapSize" parameter. By default it is always 96m, but I need to configure it to 256m.:....java.vm.version = 1.5.0_06-b05javaplugin.maxHeapSize = 96mjavaplugin.nodotversion = 150_06javaplugin.proxy.config.type = ...
Hello guys,i'm making a program that is launched by Java Web Start.I'm using the Netbeans IDE.And I'm using the Java Web Start module for Netbeans (0.8.2.4.2.4), which provides me some handy menu shortcuts for starting Tomcat etcetra. The module also provides a GUI form for making the JNLP ...
I was trying to secure one servlet and I have a login.jsp for collecting the user name and password from the user. I made the changes in the web.xml and I don抰 know how to create users on the server (test server, if possible thru WSAD5.1) and turn the security on. I am posting the relevant ...