-
how to initiate jar file using shell script in linux
Hello,
I am creating one java JAR file for my project work. It works well in windows by double clicking.
But, for linux , i need to write one shell script and just clicking that script( like .bat file in windows), it will initiate the jar file.
pls, give me example and how to write that shell script in linux.
Also, i want to write that jar file in cd and make cd as auto mount using shell script. if any one have idea , share with me.
thank you.
-
 Originally Posted by kalamram
give me example and how to write that shell script in linux.
Use: java -jar your.jar
Similar Threads
-
Replies: 10
Last Post: 10-07-2006, 11:10 AM
-
By DEVILSAN in forum Java
Replies: 7
Last Post: 06-24-2006, 07:42 AM
-
Replies: 1
Last Post: 07-19-2005, 01:03 AM
-
By jase_dukerider in forum C++
Replies: 2
Last Post: 04-14-2005, 07:48 PM
-
By Hian Chew in forum VB Classic
Replies: 0
Last Post: 03-06-2001, 12:28 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks