79305669

Date: 2024-12-24 13:13:16
Score: 0.5
Natty:
Report link

I'm not familiar with SDKMan, but this short script in my bin directory works in Linux for me. Hopefully it does so in macOS:

#!/bin/sh

export JAVA_HOME=/home/me/java/jdk-17
export PATH=$JAVA_HOME/bin:$PATH

From the command line I have to call it this way: . jdk17

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Karsten