The Artima Developer Community
Sponsored Link

Java Answers Forum
Invoking exe from Java

1 reply on 1 page. Most recent reply: Aug 7, 2002 11:48 AM by Trelan Hylton

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Nigar

Posts: 1
Nickname: nigar
Registered: Aug, 2002

Invoking exe from Java Posted: Aug 7, 2002 6:23 AM
Reply to this message Reply
Advertisement
I exactly don't now how to invoke an exe from java.please guide me.


Trelan Hylton

Posts: 6
Nickname: teejay
Registered: Jul, 2002

Re: Invoking exe from Java Posted: Aug 7, 2002 11:48 AM
Reply to this message Reply
why dont you create a jar file instead of an exe? it can invoke an application by double clicking it.

at the command prompt type
jar cfm WhateverNameYouChoose.jar manifest.mf *.class

the manifest file is a simple text file that you use to specify your main class. In it type
Main-Class: YourMainClass

always type enter after the last line in your manifest file.
go to java.sun for more information on creating jar files
TJ

Flat View: This topic has 1 reply on 1 page
Topic: Display windows ou web explorer Previous Topic   Next Topic Topic: how to draw

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use