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

the automatic java install is not working #389

Closed
ZihengSun opened this issue Jul 20, 2023 · 2 comments
Closed

the automatic java install is not working #389

ZihengSun opened this issue Jul 20, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ZihengSun
Copy link
Member

After pygeoweaver.start() on a fresh instance, it will complain that java is not installed.

@ZihengSun ZihengSun added the bug Something isn't working label Jul 20, 2023
@ZihengSun
Copy link
Member Author

@gokulprathin8 Just make a note that this happens on a brand new EC2 instance.

>>> import pygeoweaver
>>>
>>>
>>> pygeoweaver.start()
Command execution failed:
Java is not installed. Installing...
Downloading /home/ubuntu/jdk.tar.gz... https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.18_10.tar.gz
/home/ubuntu/jdk.tar.gz downloaded.
Extracting /home/ubuntu/jdk.tar.gz...
/home/ubuntu/jdk.tar.gz extracted to /home/ubuntu/jdk.
Setting JDK environment variables...
JDK environment variables set.
Java installation complete.
Stop running Geoweaver if any..
Check Java..
Start Geoweaver..
nohup: redirecting stderr to stdout
nohup: failed to run command 'java': No such file or directory

@gokulprathin8
Copy link
Collaborator

I have opened a PR @ pygeoweaver for the same issue
ESIPFed/pygeoweaver#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants