This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: how to run the jar??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
05:13 AM
how to run the jar??
i have a jar file that contain manifest file
e.g:
in native java language i run like this:
manifest (in app.jar) value
but How to a launch in installanywhere? how to set the arguments?
thxx..
e.g:
in native java language i run like this:
java -mx512m -jar app.jar
manifest (in app.jar) value
Main-Class: app1
Class-Path: jpedalSTD.jar iText-2.0.8.jar security.jar
but How to a launch in installanywhere? how to set the arguments?
thxx..
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
05:37 AM
If you want t run the jar file
use execute command action
or execute batch script action
use execute command action
or execute batch script action
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
05:59 AM
u mean like this
i saw u posted. but how to find "EXECUTE COMMAND"?
is that look like DOS command (on Windows)?
CMD /C "$USER_INSTALL_DIR$$\$xyz.exe arg1"
i saw u posted. but how to find "EXECUTE COMMAND"?
is that look like DOS command (on Windows)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
06:19 AM
using execute command action ..u can run any dos/windows command
its in advanced designer -> add action..
Is this what u wanted ? :confused:
its in advanced designer -> add action..
Is this what u wanted ? :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
06:36 AM
i have got "EXECUTE COMMAND"
so at EXECUTE COMMAND i just put
or
and who execute "EXECUTE COMMAND", is the shortcut that i make or the launcher? and where i must put "EXECUTE COMMAND" in "User Install Folder" or "Shortcut Destination folder"?
sorry i just today use installanywhere
so at EXECUTE COMMAND i just put
CMD /C "$USER_INSTALL_DIR$$\ -mx512m -jar"
or
CMD /C "$USER_INSTALL_DIR$$\$java -mx512m -jar app.jar
and who execute "EXECUTE COMMAND", is the shortcut that i make or the launcher? and where i must put "EXECUTE COMMAND" in "User Install Folder" or "Shortcut Destination folder"?
sorry i just today use installanywhere
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
06:44 AM
CMD /C "$JAVADIR$\java.exe -mx512m -jar"
Just this... its same as command prompt in windows
so u need java.exe to run the jar
it should be placed in installation folder.
Just this... its same as command prompt in windows
so u need java.exe to run the jar
it should be placed in installation folder.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2008
09:41 AM
sayunara wrote:
i have got "EXECUTE COMMAND"
so at EXECUTE COMMAND i just put
CMD /C "$USER_INSTALL_DIR$$\ -mx512m -jar"
or
CMD /C "$USER_INSTALL_DIR$$\$java -mx512m -jar app.jar
and who execute "EXECUTE COMMAND", is the shortcut that i make or the launcher? and where i must put "EXECUTE COMMAND" in "User Install Folder" or "Shortcut Destination folder"?
sorry i just today use installanywhere
I strongly recommend you to start by reading the manual, the LaunchAnywhere chapter, in order to understand how InstallAnwyhere creates these wrappers for launching the jar files.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)