Skip to content

Instantly share code, notes, and snippets.

View lucioreyli's full-sized avatar
:shipit:
bulding something

luci1 andrade lucioreyli

:shipit:
bulding something
View GitHub Profile
@lucioreyli
lucioreyli / select_java_version
Created November 28, 2022 18:58 — forked from tommysdk/select_java_version
Change default Java version on Mac OS X using Fish shell
# Based on https://stackoverflow.com/a/26252993/1665539
# Show all installed Java versions
/usr/libexec/java_home -V
# Select major version (if unique, otherwise specify full name e.g. 1.8.0_131)
set -x JAVA_HOME (/usr/libexec/java_home -v 1.8)
# Verify
java -version
> /Applications/Beekeeper\ Studio.app/Contents/MacOS/Beekeeper\ Studio
10:46:09.442 › initializing background
2023-09-07 10:46:09.639 Beekeeper Studio[43557:1545133] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
running migrations
objc[43559]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffb5b75da58) and /Applications/Beekeeper Studio.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x10819d9c8). One of the two will be used. Which one is undefined.
[43557:0907/104615.655978:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[43557:0907/104615.673126:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[43557:0907/104616.069
> /Applications/Beekeeper\ Studio.app/Contents/MacOS/Beekeeper\ Studio
11:12:46.589 › initializing background
2023-09-07 11:12:47.157 Beekeeper Studio[43837:1569713] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
running migrations
objc[43838]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffb5b75da58) and /Applications/Beekeeper Studio.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x11509d9c8). One of the two will be used. Which one is undefined.
[43837:0907/111253.234292:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[43837:0907/111253.239345:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[43837:0907/111254.512