Skip to content

Commit

Permalink
hope this is the last time
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Feb 13, 2024
1 parent ee71ccb commit bd99c88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pygeoweaver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_java_bin_path():

# Get the user's home directory
home_dir = os.path.expanduser("~")
if java_bin_path == None:
if java_bin_path is None or not java_bin_path .strip():
# check the local path
jdk_home = os.path.join(home_dir, "jdk", "jdk-11.0.18+10") # Change this to your JDK installation directory
print("Check jdk_home", jdk_home)
Expand All @@ -82,6 +82,7 @@ def get_java_bin_path():
print("Java command not found. Install it.")
else:
java_bin_path = java_cmd
print(f"Found java bin path {java_bin_path}")

return java_bin_path

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pygeoweaver"
version = "0.9.10"
version = "0.9.11"
authors = [{ name="Geoweaver team", email="geoweaver.app@gmail.com" }]
description = "This is a wrapper package of the Geoweaver app."
readme = "README.md"
Expand Down

0 comments on commit bd99c88

Please sign in to comment.