Installation JDK in Linux box Red Hat

618 byte By andrea.fontanelli at 2007-9-26 14:13:32
Hi all,I have installed Java 2 SDK 1.3.0 for Linux in my Linux box Red Hat 7.1 (in the path /usr/java/jdk1.3).When I try to compile my file with javac command or execute my class file I have this error:usr/java/jdk1.3/bin javac: /usr/bin/cut File or directory not ...

source code for WebStart & JnlpDownloadServlet

149 byte By geppert at 2007-9-26 14:14:42
I thought I remember hearing that this code would be available in source form by now. Does anybody now where it can be downloaded from?

Problem in starting Apache Tomcat 4.0

2173 byte By samiuzzafar at 2007-9-26 14:18:15
I have recently installed Apache Tomcat 4.0 (on Windows 2000). When i try to run the server i get the following message. Can someone help me in figuring this out?Catalina.start: LifecycleException: null.open: java.net.BindException: Address in use: JVM_BindLifecycleException: null.open: ...

How to add servlet package to SDK configurations

379 byte By Beaulife at 2007-9-26 14:19:54
Dear Companios:I am running SDK-1.4-beta well on my machine.Recently, I have to include servlet packages into the configurations.I've tried to move the downloaded servlet class files under various directories.But didn't succeed in compiling.Please let me know how to extend basic configuration ...

Let's build the dream together

1741 byte By annstanlam at 2007-9-26 14:21:08
I am IT guy and I am creating a platform ( a roaming desktop) based on internet environment. Right now I use Novell Server as backend to provide file storage place. My desktop platform just like a graphical terminal and enable the user to bring up this terminal by a browser. That means no ...

How to enable the Java Console?

638 byte By mmo at 2007-9-26 14:21:09
I have an application that for some reason does not start under Java Web Start. So I wanted to enable the Java Console and in the FAQ section ( http://java.sun.com/products/javawebstart/faq.html#70) I found that one should enable this in the preferences panel (advance tab) in the application ...

Let's build the dream together

1741 byte By annstanlam at 2007-9-26 14:21:10
I am IT guy and I am creating a platform ( a roaming desktop) based on internet environment. Right now I use Novell Server as backend to provide file storage place. My desktop platform just like a graphical terminal and enable the user to bring up this terminal by a browser. That means no ...

Background Jar Loading

336 byte By Kartzmark at 2007-9-26 14:21:15
I have an applet which starts up without having loaded all the jar files. While the user is logging in I would like to download the rest of the jars in the background without a dialog entitled "Java Extension Installation" appearing to show the progress of the jar file download. How can I do ...

application folder corrupted and other mysteries...

550 byte By mmo at 2007-9-26 14:21:28
This must be a strange application that I have developed ;-)Every second time I try to start it using JWS I get the message that the JWS application folder has been corrupted and that I should clear it.Quite often the Preferences dialog doesn't come up and from time to time the Advanced Tab is ...

Installation JDK in Linux Red Hat 7.1 distribution

839 byte By andrea.fontanelli at 2007-9-26 14:21:43
Hi all,thank you for your help.As suggested I make a symbolic link:ln s /bin/cut /usr/bin/cutand seems all work. I write seems because Im still in trouble.When I compile a file with javac command (or I use javadoc, javah ecc,) all work fine.For example, I compiled the file HelloWorld.java ...

jarEntry is null when file exists in large jar

967 byte By jlorenz7 at 2007-9-26 14:22:02
I'm having trouble accessing individual entries in a large jar file. I have used jar to zip up a directory containing many, many small text files. I then use the API to access the entries that I want: JarFile jarFile = new JarFile(jarFilename);JarEntry jarEntry = ...

how to list files that are NOT in a .jar file?

693 byte By mmo at 2007-9-26 14:22:05
Is it possible to list files (resources, .gif/.jpg files, etc.) that are NOT included in the jar but are still to be considered part of the application somewhere in the jnlp-file?My applications requires lots of icons which I have put into .gif files. So far I kept them in individual files next ...

Java Plug-in 1.3.0_02 nor 1.3.0_01 won't launch

429 byte By codyc at 2007-9-26 14:22:37
Help, I have installed JSDK 1.3.0_01 and 1.3.0_02, I get the same results, neither one will launch from control panel. I have checked the registry and everything seems to be fine.I am installing the application on WindowsNT 4.0 Svc pk 6 server with I.E. 5.5 with svc pk 2. I s there a patch or ...

how to run an applet in browser?

825 byte By coldsuper at 2007-9-26 14:24:25
i have a jar named "browser.jar" and its main class is "main.class"how do i display the applet onto the browser?<html><head><title>HTML Test Page</title></head><body><applet archive = "browser.jar" codebase = "." code= "main.class" name= "TestApplet" ...

JWS Download Error with FtpLoginException: user

699 byte By leder2 at 2007-9-26 14:25:41
Hi,I have a working JWS installation, but unfortunately I get a download error (see Subject).I use the standard .jnlp file from sun with modifications. My codebase is:codebase="ftp://gmr.berlios.de/pub/gmr"The .jnlp file lies on a web server and the mime type is set ...

How to pass -Hotspot or -Xingc to the jvm when using an executable Jar?

362 byte By Urmech at 2007-9-26 14:26:35
Hi, my problem is that when i start my application with the jar-File ("Main-Class: " in the Manifest), it 's veryslow.When i start it with java -hotspot -Xincgc it works fine.So my question is: how do I have to set these options in the Manifest of the Jar-FileThanks a lot in advance.Michael ...

Java Web Start Advantages

250 byte By cheung_sy1 at 2007-9-26 14:28:41
Hi,Could someone please explain to why are the advantages & disadvantages of using Java Web Start Vs using Install Shield? I think both of them are installation and deployment technology, right?Thanks.Sam

Java Plug-In (1.3.1_01) and Frontpage 2002

892 byte By Dredd9799 at 2007-9-26 14:28:55
I have a fresh build of Windows XP Pro on a PIII-1Ghz laptop. Previously this machine was running Win2K and I formatted and reinstalled partially because the Java Plug-In wasn't working on the old build. Any time that I tried to visit the download page (java.sun.com/getjava/download.html) IE ...

EJB Client Problem with JWS

1202 byte By Hkuma at 2007-9-26 14:29:56
Hello I'm having a problem in lookup remote object when using JWS.My application runs normally in Java Application without JWS.I'm using BEA WebLogic Server 6.1. My application acts in EJB client application.But my application runs normally in WebLogic Server 6.0 and JWS.When I cast remote ...

Installation of 1.3.1 on Win98SE

713 byte By kristop at 2007-9-26 14:30:38
I just downloaded SDK 1.3.1.01 installed and am having problem with the path.I've read and searched for hours and still haven't had any success.1. I do not see any jdk1.3.1_01 in the java directory. What I see is three directories jre, 1.3.1, and then bin wouldn't that be the path since I do ...

Get the path of a muffin

277 byte By harrert at 2007-9-26 14:31:11
Hello,it is possible to get the path of a muffin in JWS cache.If have all permission on the client.Maybe my muffin is: "test" then i wantto get: c:\javawebstart\.javaws\muffins\...\PMtestIs this possible?regardstom

How to by pass downloading lower versions of Java Plugin ?

393 byte By mkesiraju at 2007-9-26 14:31:42
I have developed an applet which uses Java plug-in version 1.3.1. One of my friends is using 1.3.1.0.1a. I guess that this is the latest version. But program downloads 1.3.1 Java plug-in. How to bypass downloading lower versions of Java Plug-in if higher version is already installed on client ...

Classpath problems with JARS

1128 byte By ChrisMit at 2007-9-26 14:32:27
I have created a simple java problem that prints the date. The method of getting the date is do by referencing a class from an external jar file. The program works fine. I thought I would try to put the file in a Jar file. I archived the file using this as the manifest:Main-Class: ...

JWS not backward JNLP compatible?

376 byte By cleary_james at 2007-9-26 14:32:51
Unsupported JNLP version in launch file 0.2. Only version 1.0 is supported with this version. If I upgrade JWS then I can't run any of my older JNLP files nor any of the older JNLP files out on the internet. This is absurd. So if I update my JNLP files then I have to run around to all my users ...

How to set MIME-Type in J2EE1.3 reference server

196 byte By O66183 at 2007-9-26 14:33:09
Hi, how do I set the MIME-Type in the J2EE reference ?My example works with Apache but I did not find out how to set the mime in J2EE. ThanxOliver

Splash screen won't come up

312 byte By nwL at 2007-9-26 14:34:27
I have installed JWS and just did what was written in the document...but when I clicked on the link on my web page, it would print the information desciption on my .jnlp file. Not even the splash screen will come up, it was like JWS wasn't even there. I am running out of idea, please help. ...

javac - exception Privileged instruction

1963 byte By kashouka at 2007-9-26 14:35:01
Hi,I just installed jdk1.1.6 on my computer.The examples work fine but I can't compile.I get 2 different errors:1) When I try the 1.1 example:D:\dev\jdk1.1.6\demo\demo\Animator\1.1>d:\dev\jdk1.1.6\bin\javac animator.java=>The exception Privileged instruction.(0x0000096) occured in the ...

File saving problem

263 byte By vaddepalli1 at 2007-9-26 14:35:14
Hi,When I try to save a file using JFileChooser dialog,my application is looking for A drive even thoughI set my current directory to c:\.My JNLP file gives all-permissions.Any ideas to try?Thanks,Gan

Compaq machines and Java Plug-in 1.2.2

738 byte By vw5342 at 2007-9-26 14:35:29
We have installed the Java Plug-In v1.2.2 on an IBM, Dell, and Compaq machines. The os on all 3 machines is Windows 2000. Our Java applet runs fine on the IBM and Dell machines. The applet does not run at all on the Compaq machine, even though it has the same Windows 2000 image as the other ...

How do I access the image file outside of jar file?

362 byte By ychou5 at 2007-9-26 14:36:30
Hi:I create a jar file and put the image file inside jar file.Everything is fine.However now I try to put the image file outside of jar file. I only know the relative path of the image file( relate to the jar file)How do I access the image file?I try ../image.gif but it did not workThank you ...

Is 1.3.1 supposed to have a javac.exe file?

274 byte By kristop at 2007-9-26 14:37:08
Mine doesn't and its really pissing me off. I have a java.exe file that allows me to attempt to compile but theres an exception in main thread java.lang.NoClassDefFoundError:Please just a yes or no I'd appreciate it.I guess I'll just give up.

modify vm system-classpath befor launch JWS

659 byte By fdolibois at 2007-9-26 14:38:13
We are deloy a Swing Thick-Client with WebStart. The problem is that we are using 3rd party jars who have to be set to the system classpath. The modification of the classpath in our jnpl-file with <property name="java.class.path" value="foo:\3rdpartyjars.jar"/> is no the solution. The ...

Different certificates issue

215 byte By fdolibois at 2007-9-26 14:38:25
Hi,I am using signed 3rd party jars. How can I use these jars with my own signed jars? I can not change the certificate of the 3rd party jars. Is there any workaround?Regards,Frank

Deleting or clearing signed application breaks WebStart

913 byte By corry1987 at 2007-9-26 14:42:05
Possible bug -- can anyone confirm/solve?1. Sign jars for application with Sun's jarsigner.2. Create .jnlp file (all-permissions); setup MIME type, etc.3. Download and run app -- get security warning message.4. After running app one or two times, creating desktop icon, etc., close out of app ...

Authentication on IIS server

805 byte By ecoffin at 2007-9-26 14:43:00
Hi all,I developed a JWS application that runs on a Microsoft IIS 5.0 server. When I connect to the .jnlp file, I get a login prompt, and I login just fine, however, I soon get an error: Exception in thread "main" java.net.ProtocolException: Server redirected too many times (5)I talked to the ...

How do I interface with Outlook on a computer through WebStart?

505 byte By 6tr6tr at 2007-9-26 14:44:00
I have two questions:1. I want my Java app to be able to change stuff in outlook. So when the user uses my app and then opens outlook, it'll be diff. How do I do this?2. Is it possible to do the above through Java WebStart? WebStart makes everything over http (i think) or can I also do ...

How to install and runRMS with only Oracle jdeveloper

345 byte By naveenkumarg1 at 2007-9-26 14:44:18
Dear sir/madam,Iam totally new to java and jsp.I have downloade Ur RMS project.I want to run ur RMS project using only Oracle J developer.Is it possible to run this using only J developer.Or do i require any other software.Pls give me the detailed instructions to run it using Jdeveloper. ...

Java2 Plug-in failure (j2sdk-1.3.1_01 & 1.4.0_beta3)

771 byte By danielh2o at 2007-9-26 14:44:38
Win2000 professional (SR2) (traditional chinese version)Installed with: j2sdk1.3.1_01, j2sdkee1.3At Netscape6.2, goto java.sun.com, the 2 applets cannot display. After (click the link to get java plugin, JRE1.3.1, and then click updates for international users).The problems stilll exist even if ...

Version of app in jar or manifest

316 byte By jumu at 2007-9-26 14:45:21
Hi all,I want to show the version of my JAR in a info-dialog. It should look like this: MyApp V 1.0.0 Build 5What's the best place to store this information (it should be somewhere in the JAR) and how can it be accessedfrom into the application?RegardsJurgen ...

Class not found in a JAR

470 byte By mikeagius at 2007-9-26 14:46:26
I have two JAR archives representing two packages which are discrete functions.I need to launch a bean in one jar file from another by using either the java.beans.Beans.instantiate(null, s); or Class.forName(s).newInstance(); where s is the name of the class. All this works when the stuff is ...

do you need the jre or the plugin?

588 byte By cazza at 2007-9-26 14:46:27
I don't know anything really about the JRE or the plugin, except for the JRE contains the plugin.I would like to know, if you just want to use Swing in an applet, do you just need the browser plugin, or do you have to have to have the whole JRE?If you just need the plugin, how do I get it, ...

class inside jar cannot see resourcebundle outside jar

1176 byte By martycash at 2007-9-26 14:46:42
Gang,My team wants to be able to deploy an executable jar file and a separate .properties file that would contain industry or country specific wording for the labels in the application (or applet). We thought it a good idea to keep the file outside the jar so customers could change labels if ...

Install jsdk on linux red hat 7.0

245 byte By IvanSamuel at 2007-9-26 14:47:47
Hi everybody,I have tried to install jsdk 1.3 on linux red hat 7.0 but i obtain one error message when i try to execute java,javac.... I dont know which is the problem. Can somebody help me? Please its importantThanks

Requesting advice on current status of these issues

1461 byte By kevina01 at 2007-9-26 14:48:31
My company is trying to decide whether to use our prototyped Swing applets in a production product which will be accessed by various corporate users across the world. We would like to know the latest status of these issues, if anyone could summarize:1) OBJECT tag downloads the hardcoded version ...

Java Web Start 1.4 Beta3 with self-signed jar - Little problem!

501 byte By martinm1000 at 2007-9-26 14:49:05
Hello!I've got a self-signed jar file that is an applet, and when I'm presented to the certificate of the jar on the first time, I can see my name and other information about the certificate.But when that same jar is used with Java Web Start 1.4 Beta 3, The certificate is ok, but the ...

Help - Executing Jar file

440 byte By nmr1 at 2007-9-26 14:49:14
I am accessing Sybase using Jconnect. If I execute java command with the class file like this,java -cp jconnect.zip; MyAppit executes successfully. But If I try to excute like this as jar file, it failsjava -jar -cp jconnect.zip;MyApp.jar.It gives the error "java.lang.ClassNotFoundException: ...

I deploy a jar archive .........

172 byte By usersoft at 2007-9-26 14:50:35
my application is run well in jbuilder 5,but it is right with command:java -jar app.jarException:NO main class in jar archive.help me !!!

java.lang.ExceptionInInitializerError

643 byte By divan1 at 2007-9-26 14:55:28
HiI have jared up my code into an executable jar and it is running fine, when I double click the file. I am using a NetClue component to display html. When however I download the jar with JWS, all is working fine except for the NetClue html component. It throws a ...

Answer: Plug-In 1.4 for Mozilla / Linux

411 byte By SKelvin at 2007-9-26 14:56:19
I spent an hour to configure Java 1.4 for Mozilla under Linux and I have not found an answer in this forum, so here it is:Make a soft link from the plug-in library to mozilla's components directory.Linking to mozilla's plugin directory will not work any more:ln -s ...

(NES)Netscape Enterprise Server

106 byte By gabecq at 2007-9-26 14:56:57
Hi all!How can I configurate NES for JWS?Thanks and Merry Christmas ;-)