java - Execute a JAR file in a specific JRE -
i have been looking @ question , although shows how can execute jar
in windows, not show how can done in linux (preferably centos). can tell me how can execute .jar
file made in linux? here have in command line:
[support@turndownforwhat project]$ ls dicomflow.jar jre1.7.0_60
update: have tried this:
[support@turndownforwhat project]$ sudo jre1.7.0_60/bin/java -jar dicomflow.jar [sudo] password support: sudo: jre1.7.0_60/bin/java: command not found
i ran:
[root@turndownforwhat project]# ls -l jre1.7.0_60/bin/java -rw-rw-r-- 1 back upwards support 5718 apr 17 2014 jre1.7.0_60/bin/java
based on reported output, java
command not executable. issue copying or uncompressing of jre directory.
java linux
No comments:
Post a Comment