I want to run Oracle SQL Devloper
on Ubuntu with this command:
sh sqldeveloper/sqldeveloper.sh
Then I got this message:
I've faced with similar issue. Tried published recommendations but unsuccessfully. Possible the reason I'm using sdkman
to manage java versions, may be something with permissions because of Mac OS.
For Mac user it is important try manage configuration:
SetJavaHome {{path to your java}}
in ~/.sqldeveloper/{{sql-dev-version}}/product.confthis step could help if you are using jdk installed by brew following default path.
If you've installed openjdk with sdkman
path to java will be like ~/.sdkman/candidates/java/{{java-version}}
and this path needs to be mapped on default expectations with aliases.
I did not have information about the default path, so it needs to find executable file:
error message
);ps ux | grep sql
- it will help you to detect executable file location sqldeveloper.sh
;/usr/libexec/java_home
;export JAVA_HOME=$TMP_PATH
and replace path with your path to java home or simply remove line if JAVA_HOME
was specified in OS settings.