I just installed JRE 1.4.1_01 on my SuSe 7.3 Pro / Intel PC I can confirm the installation was successful by typing 'java -version'
Now, I have a java app I want to run. The app is located at /some_pathname/app/AppName.jar
EXAMPLE 1: If I enter the following: cd /some_pathname/app <-- switch to directory java -jar AppName.jar <-- THEN launch app
... the java app will launch, but it takes a VERY long time to start up (maybe 2 minutes)
EXAMPLE 2: however, if I enter the following instead: cd /home java -jar /some_pathname/app/AppName.jar
... the java app will launch almost immediately.
For my purposes, I need to be in the directory that contains the app BEFORE I launch the app (as in the first example). Can anyone tell me why this method takes much longer? I suspect it may have something to do with a
I tried that and it still takes a very long time to load. :( -- Eric Carbone -----Original Message----- From: Lennart Börjeson [mailto:lennart.borjeson@cinnober.com] Sent: Tuesday, November 19, 2002 3:16 AM To: Eric Carbone; Subject: Re: [suse-kde] Launching Java apps in KDE Try java -jar ./AppName.jar in the app directory. I've not confirmed this, but I'm guessing the java launcher searches your entire PATH if you leave out the catalogs from the file spec. /Lennart tisdagen den 19 november 2002 02.03 skrev Eric Carbone: path
setting but I do not know where to set this.
Thanks. Eric Carbone
-- !++ ! Lennart Börjeson ! Partner, Developer ! Cinnober Financial Technology AB ! Industrigatan 2A ! S-112 46 STOCKHOLM ! Sverige/Sweden/Schweden/Suède ! mailto:Lennart.Borjeson@cinnober.com ! phone:+46-8-50304700 ! fax:+46-8-50304701 ! http://www.cinnober.com !--
participants (1)
-
Eric Carbone