Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails on Windows #40

Open
ross-oreto opened this issue Aug 24, 2020 · 2 comments
Open

install fails on Windows #40

ross-oreto opened this issue Aug 24, 2020 · 2 comments

Comments

@ross-oreto
Copy link

Environment:

  • java 8
  • jooby 2.8.10
  • Windows 10
  • maven 3.6.3

This error occurred after packaging a Jooby app which uses the jooby-stork plugin
https://github.com/jooby-project/jooby/blob/2.x/pom.xml#L151
which uses stork 3.1.0

Steps:

jooby create test --stork
cd stork
  • in stork.yml
platforms: [ WINDOWS ]
  • package
mvn clean package
  • extract /target/test-1.0.0.stork.zip and run
\bin\test.bat --install

Expected Result:

  • The application is installed and can then be started using the start command.

Actual Result:

bin\test64.exe is not compatible with the version of Windows you're running. 
Check your computer's system information and then contact the software publisher.
@jjlauer
Copy link
Member

jjlauer commented Aug 24, 2020

Only administrators w/ elevated privileges can install services. I'd suggest two things:

  1. Does --run work vs. --install
  2. Open up the cmd.exe as an Administrator and give that a try.

@ross-oreto
Copy link
Author

  1. Yes run does work
  2. When running CLI as admin and trying to run --install, I still get a "Unsupported 16-Bit Application" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants