running a command involving ";"
hello,
i want to run the command
-------
java -cp systray4j.jar;QuickDownloaderv4.4.jar down.quickDownloader.applicationStartUp.SplashScreen
------
unfortunately the command itself involve semicolon which is a delimiter for new commands in linux. so how can i run this command.
thanks
Signature · 2 lines
:) Atishay Kumar
try one of these:
hal:~ # echo "hi;hi"
hi;hi
hal:~ # echo hi\;hi
hi;hi
Quoted 22 lines · Atishay Kumar
hello,
i want to run the command
-------
java -cp systray4j.jar;QuickDownloaderv4.4.jar down.quickDownloader.applicationStartUp.SplashScreen
------
unfortunately the command itself involve semicolon which is a delimiter for new commands in linux. so how can i run this command.thanks
--
:)
Atishay Kumar
-
To unsubscribe from this list: send the line "unsubscribe linux- admin"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Why are you using a semicolon as a delimiter for specifying multiple classpaths?
On Tue, Dec 14, 2004 at 02:34:39PM +0530, Atishay Kumar wrote:
: hello,
: i want to run the command
: -------
: java -cp systray4j.jar;QuickDownloaderv4.4.jar
: down.quickDownloader.applicationStartUp.SplashScreen
: ------
: unfortunately the command itself involve semicolon which is a : delimiter for new commands in linux. so how can i run this command. :
: thanks
:
: --
: :)
: Atishay Kumar
: -
: To unsubscribe from this list: send the line "unsubscribe linux-admin" in : the body of a message to [email protected]
: More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Rob
On all unix like OSs (which is almost every major OS in the world save windows) the classpath delimiter is a colon. So you command should be:
java -cp systray4j.jar:QuickDownloaderv4.4.jar down.quickDownloader.applicationStartUp.SplashScreen
i realized my mistake and corrected it. thanks for all answers.
atishay
P.S. Make one line Happy Admin http://202.138.119.197:8084/wiki/ is waiting for your expert tips....
Quoted 35 lines
Cheers,
RobQuoted 11 lines · Atishay Kumar
hello,
i want to run the command
-------
java -cp systray4j.jar;QuickDownloaderv4.4.jar down.quickDownloader.applicationStartUp.SplashScreen
------
unfortunately the command itself involve semicolon which is a delimiter for new commands in linux. so how can i run this command.thanks
Quoted 8 lines
--
:)
Atishay Kumar
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org
~open source xslt IDE~
http://treebeard.sourceforge.net
~open source XML database~
http://ashpool.sourceforge.net
Signature · 10 lines
:) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 /************************************** *All that is gold does not glitter * **************************************/