applet 1.6 max heap size regression?

375 byte By AlfredTheGreya at 2007-11-27 3:15:56
Is it true that a 1.6.0_1 applet forces 64M max heap size? It certainly is the case on my Vista PC running 1.6.0_1 which as 2gig of physical memory. On another PC running XP sp2 java 1.5.0_11 I am seeing that the max heaps size follows the max heap size = 1/4 max memory as I'd expect.Is there ...

How do I choose the version of Java support for my browsers?

521 byte By BryanHiggsa at 2007-11-27 3:17:11
I have installed Java 6/1.6 because I teach Java and wish to learn about Java 6.However, I would like to use Java 5/1.5 as my browser plug-in, because I access a site (Blackboard at my college) that uses a Java applet that does not work under Java 6 (I am assured that they are working on it, ...

Strange cache behaviour

705 byte By rmitchell150a at 2007-11-27 3:18:12
I am using Java 1.6u1 on Vista Business. When I run a jnlp file for the first time it downloads ok, runs the application, and places an icon on the desktop. All good. But when I open the cache viewer the application isn't there. When I then double click the desktop icon the application ...

JWS can't find the cache file for the application when trying to upgrade

1917 byte By trs80-model-1a at 2007-11-27 3:19:26
It happens since some of our users have updated their Java version to 1.6.0_01-b06 (all of us using W2K).The first time they click on their usual desktop JWS shortcuts, all is working perfectly; the JWS 1.5 cache style shortcut is replaced by a new 1.6 cache style shortcut, the app is dowloaded ...

building jar

779 byte By kode128a at 2007-11-27 3:22:18
Hello everyone! I have quite nasty thing happening,i dont understand wheres the problem! Im using Netbeans IDE 5.5! As i understand when I press Build Project button it builds the project and it is ready for use! Everything is ok when Im running application from dist folder, but only then when ...

HTTP Status 500 -

2437 byte By arapmoia at 2007-11-27 3:23:44
I am using netbeans 5.0 to create a web deployed application. I downloaded all the necessary files including jnlp_servlet.jar and saved it in WEB-INF folder.the application runs in debug mode but when i try to deploy it this is the error that i gettype Exception reportmessagedescription The ...

installing j2ee1.4

300 byte By pankesh_beta at 2007-11-27 3:25:12
hi,I have installed j2ee1.4 but when i am compiling a program it it gives me error pacakge import. javax.servlet.*; is not found.can any body sort out the problem .and can any one tell me the exact procedure for installing j2ee1.4.i will reward ...

Jar files within jar file

359 byte By j2meg33ka at 2007-11-27 3:29:53
HII was looking for syntax for creating a jar file that would include other .jar filesI have created 'Hello World' class that is OK.It is working for Java classes as I want to convert following;'java -classpath Blue.jar;mail.jar; classes.SPP_Main'can anyone give any idea, how to convert ...

Can i check for a particular exe

240 byte By kapessa at 2007-11-27 3:31:20
HiiPlz tell me if i can check the running of particular exe on the client machine. If it is not available i would like do download it from the server n then run it.Can i do it through web start tech.Thanks

Webstart cache bug? ClassnotfoundExeption BUT IS IS THERE!

1587 byte By Tobias.Horna at 2007-11-27 3:34:47
Hi,we have a swing application that is launched via webstart.This worked fine over years with all versions of java 1.4 up to 1.5, but with 1.6 from time to time we are facing a strange problem:-From time to time, rarely, the application cannot be launched via webstart, it returns with a ...

Launching an Web Start gives me error message(s), 1 for every .jnlp..

651 byte By JTapioa at 2007-11-27 3:36:15
Hei!//- MICROSOFT JSCRIPT COMPILATION ERROR -/ \/ ! \Expected ' ) '; /\ | OK |//I get this strange JScript error dialog everytime when i go launching an Web Start application from my PC XP PRO SP2 JRE6u1..i have reinstalled Java several times and reinstalling wont help..this error message ...

jar works different when executed with webstart

340 byte By esicoa at 2007-11-27 3:37:40
Hello, I have a problem when executing an app with webstart. When I execute the jar directly on windows everything works fine, but when I execute the webstart link it executes but not correctly. The application has some timers that don't work. The rest of the application seems to be ok. Anyone ...

Output in a JAR to an internal file

272 byte By Childa at 2007-11-27 3:38:06
So, when reading from a file packaged in a JAR, in order to get input to work correctly, the class must use this.getClass().getResourceAsStream("file.txt").What is the equivalent code for output, if one wanted an OutputStream?

Which Version will be used ?

290 byte By arunkumar504a at 2007-11-27 3:38:53
Hi All,If there are two jars in WEB_INF/lib directory, which one will be used. For exampled there is A.0.1.jar & A.0.4.jar (Different versions) & if the application needs a class file which is present in both jars then which jar will be used ?Thanks-Arun

Installation error in JDK 1.4.2_14 on windows XP SP2

788 byte By bacchu_anjana at 2007-11-27 3:43:59
Hi There, I just downloaded the JDK and tried installing it from the command prompt. The 1st time I tried it, it bombed with the messagebox "Error applying transforms. Verify that the specified transform paths are valid"after a few seconds, even before any user input.The second time, it gave ...

Java webstart - application deployment directory

837 byte By hrtpa at 2007-11-27 3:50:33
Hi,Applications deployed via Java Webstart (using JRE 1.4.2) were installed under :\Documents and Settings\username\.javaws\cache\http\........I am trying to test my application deployment with Java 6 - and - I cannot find the directory in which the application is deployed. But my application ...

JAR execution throw NoClassDefFoundError error

1789 byte By RezaRavasizadeha at 2007-11-27 3:51:32
I have an ant script to create executable jar file for me but when I issue:java -jar tego.jar I got the following exception:NoClassDefFoundError: com/aurelius/gui/main/MainFrameAll my libraries, folder and etc are at correct place when I check MANIFEST.MF contextplease consider with out JAR ...

HELP Configuring JDK6 on Linux

420 byte By viperpilot2a at 2007-11-27 3:52:22
I am running KUBUNTU Linux and want to use the new Java6 Development Platform. Right now I have java4. What I can't figure out is how to tell the system to defualt to Java6 or remove Java4 and reinstall java6 into the proper directory. Everything is installed, but when ever I try to complie a ...

Is JRE 1.6.0_01 Available for Auto-Download yet?

975 byte By javaguy323a at 2007-11-27 3:52:27
There is a serious problem with printing in JRE 1.6.0 b105 so I need to get my users on the latest JRE 1.6.0 b106 which fixes the printing problem.What is the version in the JNLP that I need to use to get webstart to download b106? I've tried the following variations of the <java> tag in ...

jnlp shows up as xml in browser

630 byte By hopia at 2007-11-27 3:53:29
Hello all,I have a jnlp working on a development server. I moved it to production and I changed the codebase and homepage references to the new URL. Clicking the .jnlp link on the production server gets me the message you see below and the contents of the .jnlp file are displayed in the browser ...

Swing application won't work with JavaWebStart 6

480 byte By nanostructera at 2007-11-27 3:56:27
Hi, i have written a Swing application which works fine, but not with JavaWebStart 6.Wenn i start it from the CMD with the java -jar MyApplication.jar command or with eclipse it works. But when i try to do the same with JWS 6 i get an IOException. In the .jnlp i have:<security> ...

images in a jar

341 byte By schmeagola at 2007-11-27 3:57:19
When simply packaging a one class applicatione.gjar cmf manifest.mf run.jar myPackagemanifest.mf:Manifest-Version: 1.0Main-Class: myPackage.MyClassIf the class used images, how do u add the images to the jar?currently the jar needs to be in the same folder as the images 4 them to ...

Supported sun jre versions?

325 byte By robertojimenocaa at 2007-11-27 3:58:47
I am looking for a sun web page where the current supported sun jre versions ar shown to know when to stop providing support for older jre versions for my clients. (By supported I mean that if a bug is found a new minor release with just bugs fixed is released)What are the currently supported ...

native found in 1.4 and 1.5 but UnsatisfiedLinkError throwed in 1.6

12312 byte By jfauberta at 2007-11-27 3:59:11
We have an jnlp application working fine since 1.4.2Some users have upgraded the vm and recently installed 1.6u1.First, we had a cache problem resolved by adding version="+" on jar entries.But the jnlp contains also a native library and now this dll can not be found by the 1.6.Within the main I ...

downloadable applet on local PC

217 byte By harry_singha at 2007-11-27 4:05:58
I have http:// www.mywebsite.com/NewJApplet.html which run applet on the web. Is there any way so that users can run this applet from there own PC instead of loading my.jar everytime from my website?thnx

Testing if a jar was executed from commandline or "doubleclick"?

573 byte By bmearns@coe.neu.edua at 2007-11-27 4:08:06
I'm wondering if there's a way to determine whether a jar has been executed from the command line (java -jar <jar>) or through a windows association, like when you double click it in explorer. As I understand it, there's no System.out (or it's a dummy or something) when you execute a ...

can't install java

170 byte By mhilsona at 2007-11-27 4:11:51
when trying to install java from java.com.......I get this message reading.................Error 1606. could not acess network location\\LLCNT1\Users-brent\

Webstart and Secure servers

682 byte By BWVictoriousa at 2007-11-27 4:20:10
HeyasOk I have to deploy my java application within a secure server (not https, just user has to login to access it).The problem I am having is "com.sun.deploy.net.FailedDownloadException: Unable to load resource"It seems that when webstart starts and tries to download the files its using a new ...

How to setup JNLP under SunAppserver 9.1?

244 byte By mbazsa at 2007-11-27 4:20:38
I use Java EE and I' ve deployed an EE application and Swing appclient under AS9.1, but the .jnlp contains bad hostname (my internal name). Is it possible to change it?Is it possible to create a custom .jnlp under AS9.1 using EE?

How to archive a Java project that uses an Oracle XE DB?

628 byte By zabbalaa at 2007-11-27 4:21:47
Hi,As the title suggests, I have a small Java application that uses Oracle XE as the database. Now that I have finished working on the application, I want to archive it and email it to friends and coworkers to test it. However, I know that none of these people have any database software ...

Java Downloading on Fedora 6

619 byte By harshad_1982a at 2007-11-27 4:23:58
I have been trying to download jdk-1_5_0_10 on Fedora 6. I have referred various forums, links which state the following steps: 1. Choose "Linux self-extracting file" version( not the RPM version) in some cases and 2. "Get the Linux RPM in self-extracting file" (don't download Linux ...

Pack200 on Java Web Start 1.5 and JRE1.4.2

363 byte By Flata at 2007-11-27 4:26:11
I'd like to use pack200 compression format running on Java Web Start 1.5 and JRE1.4.2 (setting <j2se version="1.4.2_05"?gt; in the JNLP file).I noticed that setting the j2se attribute to version 1.4.2+, Java Web Start 1.5 always downloads the uncompressed jar files.Any suggestions or hints ...

file within jar

913 byte By lildavesflavaa at 2007-11-27 4:27:09
I created a jar file for my application using eclipsewithin my project i have some file my application uses as images i have a issue with the path to write to access those filescurrently although all those files are already in the jar i have to create a folder duplicate those files and copy the ...

my jar only open files in c:

273 byte By mrraina at 2007-11-27 4:27:21
I've made an application that works correctly when I run it in eclipse. I can open every file that is in my hard drive, "my documents", "C:",....But when I make the jar file it only open files which are in "c:", not in "My Documents"What is happening?

A few NewBee Questions

678 byte By BillG_SDa at 2007-11-27 4:27:23
The JRE 1.4.2_07 plugin shipped with enterprise software we bought (Maximo). First, can I safely upgrade (through the control panel in Windows Server 2003) to a later version of the JRE, which may have fixes? I don't want it to break Maximo 6Second, if I upgrade to a newer version of the JRE , ...

Web start is not loading ext-download element in jnlp file

590 byte By JayaKa at 2007-11-27 4:28:32
Hi,In the jnlp file, I have an ext-download element apart from the jar :<resources>...<jar href="nf.fw.jar"/><ext-download ext-part="test.properties" download="eager"/> </resources>The file : test.properties is in the same directory as the other jars. When I run the ...

Where to get getJava.exe ?

204 byte By amit_ahujaa at 2007-11-27 4:29:11
At JavaOne - Easy Deployment Is Finally Here, we were told about GetJava.exe utility.Would really appreciate if someone could tell me where can i download that from. ThanksAmit

From where can I download org.apache.tools.tar ?

376 byte By javaFanMana at 2007-11-27 4:30:26
hello frnz..am in a issue here..from where can i download org.apache.tools.tar?..i tried looking at maven site for downloadables, but wasnt able to find it..went thru previous threads, but cudnt find a URL for downloading this 3rd party jar...Also, i dont have TOMCAT installed in my system, so ...

JRE 6 - sign issue

530 byte By madmax7_97a at 2007-11-27 4:34:24
all:we were using 1.5.09 JRE and our JavaWebStart based app worked fine. then i installed 1.6 in my PC (windows). now i cant launch my jnlp using 1.6it says"Unsigned application requesting unrestricted access to the systemUnsigned resource https://myServer/classes/JimiProClasses.zip"I manually ...

Using DownloadService to programmatically download a jar

2635 byte By jgreenAtWorka at 2007-11-27 4:35:45
I have a Web Start application that asks for "all-permissions" in its jnlp. Once this app has been granted all permissions and has started to run, I would like it to download an additional jar file using DownloadService and then instantiate a class defined in that jar.I attempted to do this ...

Installation of Java 1.4.1_02

87 byte By Tigerboy53a at 2007-11-27 4:37:19
Seems like this should be simple. How do I do this (in elementary terms) please?

Install jdk1.5 on linux machine

1056 byte By Sarayu_Geethajalia at 2007-11-27 4:40:11
Hi,I need to install jdk1.5 on linux machine.I downloaded jdk-1_5_0_10-linux-i586.bin to /users/sarayu/downloads and followed the below steps to install.a) chmod 777 jdk-1_5_0_10-linux-i586.bin b) In /users/sarayu/downloads directory I ran the binary file as./jdk-1_5_0_10-linux-i586.binI feel ...

Web start silently dying

576 byte By georgemca at 2007-11-27 4:40:40
We have a set of JNLPs for launching various applications, and I've recently added some new dependencies to one of them, and now, that JNLP will no longer start. I don't get any error messages to the java console, nothing. Both Webstart and the console just suddenly die silently. I have "Show ...

BasicService.showDocument(url) loses application focus to browser

1097 byte By danhanleya at 2007-11-27 4:42:32
HiI'm using Webstart to run a swing client application that displays a listbox of headings (urls) . The use case is that a user should be able to select a headline in the listbox and see the corresponding webpage displayed in the browser. This works fine on XP/Vista/2000 with IE5/6/7 and ...

My jar is not showing anything, confused!

572 byte By MelGohana at 2007-11-27 4:43:10
Hi, I am trying to deploy a well tested application to an executable jar.I use Eclipse as IDE, I exported the jar file, I also checked the file and the manifest file and the versin and main class is well set.When I run the jar nothing is being shown. My app uses some JFrames, and in fact my ...

Issue during Server Start Up

6537 byte By nd_prabhua at 2007-11-27 4:43:24
I am connecting to a Webservice (running on VB) from a EJB Module. I have used Axis to create my webservice and it is secured webservice. I am getting the following error during startup. I am not able to resolve this. WSWS1000E: Error: WSDLException: faultCode=CONFIGURATION_ERROR: Problem ...

linker error-undefined reference to

3772 byte By vineet_mita at 2007-11-27 4:45:05
Hii'm getting this error on linking ie on executing the command gcj --main=apps -o apps apps.oapps is the name of the file.....the code is compliling without error...Can anyone tell why this, 'undefined reference to......' error coming and how to correct itHere is the complete error ...

linker error-undefined reference to

3764 byte By vineet_mita at 2007-11-27 4:45:06
Hii'm getting this error on linking ie on executing the command gcj --main=apps -o apps apps.oapps is the name of the file.....the code is compliling without error...Can anyone tell why this, 'undefined reference to......' error coming and how to correct itHere is the complete error ...

I need help regarding event generation from web browser

401 byte By kapessa at 2007-11-27 4:45:56
I need to start one client program as soon the User presses "Login" button through the browser.i.e I want to generate an event to run my client application that can be a web start application ,Can I do it without any intervention of the user.Plz give me the idea. Is web browser and Web start ...

How to change JRE on IE

165 byte By Deepak2001a at 2007-11-27 4:47:50
Hi,I have JRE 1.5.0_10 running on IE. I have to test something on JRE 1.4.2. Is there any way i can change JRE from 1.5.0 to 1.4.2 on IE.Thanks.