• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javapackager is not recognized as an internal or external command, operable program or batch file.

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to run Javapackageer, but I get an error

'javapackager' is not recognized as an internal or external command, operable program or batch file.

I have Java_home set to C:\Program Files (x86)\Java\jdk1.8.0_121

and java -version shows

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

How can I run Javapackager? Do I need to install something? Do I need to set a path?
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Taken from docs:

For Windows installations, add the path to the javapackager command to the PATH environment variable. The javapackager.jar file is located in the bin directory of the JDK installation.


So, you should add your jdk/bin location to PATH environment variable.
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
be careful if and when you change your PATH. it is easy to accidentally delete your path. its not as bad as it used to be, but you don't want it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic