Skip to content

Commit

Permalink
Update jdk_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Jun 5, 2023
1 parent 94c1522 commit cf91bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoweaver/jdk_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def set_jdk_env_vars(jdk_install_dir):

if not check_java:
with open(os.path.expanduser("~/.bashrc"), "a") as bashrc:
bashrc.write()
bashrc.write(f'\nexport JAVA_HOME="{jdk_install_dir}"\n')
bashrc.write(f'export PATH="$JAVA_HOME/bin:$PATH"\n')
print('JDK environment variables set.')

Expand Down

0 comments on commit cf91bc5

Please sign in to comment.