{"id":1032,"date":"2024-08-10T15:35:45","date_gmt":"2024-08-10T20:35:45","guid":{"rendered":"https:\/\/dillernet.com\/apple\/?p=1032"},"modified":"2024-08-10T15:35:45","modified_gmt":"2024-08-10T20:35:45","slug":"sdkman","status":"publish","type":"post","link":"https:\/\/dillernet.com\/apple\/2024\/08\/10\/sdkman\/","title":{"rendered":"SDKMAN"},"content":{"rendered":"<p>This may be the <a href=\"https:\/\/sdkman.io\/\">easiest jdk installation<\/a> I&#8217;ve ever done on mac.<\/p>\n<pre>\nNow attempting installation...\n\n\nLooking for a previous installation of SDKMAN...\nLooking for unzip...\nLooking for zip...\nLooking for curl...\nLooking for sed...\nInstalling SDKMAN scripts...\nCreate distribution directories...\nGetting available candidates...\nPrime platform file...\nPrime the config file...\nInstalling script cli archive...\n* Downloading...\n######################################################################## 100.0%\n* Checking archive integrity...\n* Extracting archive...\n* Copying archive contents...\n* Cleaning up...\n\nInstalling script cli archive...\n* Downloading...\n######################################################################## 100.0%\n* Checking archive integrity...\n* Extracting archive...\n* Copying archive contents...\n* Cleaning up...\n\nSet version to 5.18.2 ...\nSet native version to 0.4.6 ...\nAttempt update of login bash profile on OSX...\nAdded sdkman init snippet to \/Users\/dillera\/.bash_profile\nAttempt update of zsh profile...\nUpdated existing \/Users\/dillera\/.zshrc\n\n\n\nAll done!\n\n\nYou are subscribed to the STABLE channel.\n\nPlease open a new terminal, or run the following in the existing one:\n\n    source \"\/Users\/dillera\/.sdkman\/bin\/sdkman-init.sh\"\n\nThen issue the following command:\n\n    sdk help\n\nEnjoy!!!\ndillera@blackball ~ $ source \"\/Users\/dillera\/.sdkman\/bin\/sdkman-init.sh\"\ndillera@blackball ~ $ sdk help\n\nNAME\n    sdk - The command line interface (CLI) for SDKMAN!\n\nSYNOPSIS\n    sdk <subcommand> [candidate] [version]\n\nDESCRIPTION\n    SDKMAN! is a tool for managing parallel versions of multiple JVM related\n    Software Development Kits on most Unix based systems. It provides a\n    convenient Command Line Interface (CLI) and API for installing, switching,\n    removing and listing Candidates.\n\nSUBCOMMANDS & QUALIFIERS\n    help         [subcommand]\n    install      <candidate> [version] [path]\n    uninstall    <candidate> <version>\n    list         [candidate]\n    use          <candidate> <version>\n    config       no qualifier\n    default      <candidate> [version]\n    home         <candidate> <version>\n    env          [init|install|clear]\n    current      [candidate]\n    upgrade      [candidate]\n    version      no qualifier\n    offline      [enable|disable]\n    selfupdate   [force]\n    update       no qualifier\n    flush        [tmp|metadata|version]\n\nEXAMPLES\n    sdk install java 17.0.0-tem\n    sdk help install\n\n\ndillera@blackball ~ $ sdk install java\n\nDownloading: java 21.0.4-tem\n\nIn progress...\n\n######################################### 100.0%\n\nRepackaging Java 21.0.4-tem...\n\nDone repackaging...\nCleaning up residual files...\n\nInstalling: java 21.0.4-tem\nDone installing!\n\n\nSetting java 21.0.4-tem as default.\n\ndillera@blackball ~ $ java -version\nopenjdk version \"21.0.4\" 2024-07-16 LTS\nOpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode)\ndillera@blackball ~ $ <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This may be the easiest jdk installation I&#8217;ve ever done on mac. Now attempting installation&#8230; Looking for a previous installation of SDKMAN&#8230; Looking for unzip&#8230; Looking for zip&#8230; Looking for curl&#8230; Looking for sed&#8230; Installing SDKMAN scripts&#8230; Create distribution directories&#8230; Getting available candidates&#8230; Prime platform file&#8230; Prime the config file&#8230; Installing script cli archive&#8230; * [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[35,65],"tags":[],"class_list":["post-1032","post","type-post","status-publish","format-standard","hentry","category-apple","category-java"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s3PE01-sdkman","jetpack-related-posts":[{"id":361,"url":"https:\/\/dillernet.com\/apple\/2011\/01\/09\/ultimate-guide-to-plex9-on-appletv-2g-with-4-2-1\/","url_meta":{"origin":1032,"position":0},"title":"Ultimate Guide to Plex9 on AppleTV 2G with 4.2.1","author":"dillera","date":"January 9, 2011","format":false,"excerpt":"Update on Jan 12: You should use the SeasOnPass app from fireCore -- it does exactly what I outline below, only much more quickly and easily. After a few days of screwing around with a new AppleTV 2G that came from Apple with 4.2.1 pre-installed (so no going back to\u2026","rel":"","context":"In &quot;Apple&quot;","block_context":{"text":"Apple","link":"https:\/\/dillernet.com\/apple\/category\/apple\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":939,"url":"https:\/\/dillernet.com\/apple\/2024\/03\/04\/appletalk-2024-marchintosh-project\/","url_meta":{"origin":1032,"position":1},"title":"AppleTalk 2024 MARCHintosh Project","author":"dillera","date":"March 4, 2024","format":false,"excerpt":"Update 3 (March 8): The Quadra800 as AIR is totally stable, I'm enjoying all the fun things on other sites (using a SE\/30 as workstation) and playing with getting screenshots converted back and forth. My ImageWriter Network card should be arriving to day and so I will have print sharing\u2026","rel":"","context":"In &quot;Apple&quot;","block_context":{"text":"Apple","link":"https:\/\/dillernet.com\/apple\/category\/apple\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/03\/air_setup_2024_v2b.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1055,"url":"https:\/\/dillernet.com\/apple\/2024\/11\/14\/mactcp-done-right\/","url_meta":{"origin":1032,"position":2},"title":"MacTCP Done Right","author":"dillera","date":"November 14, 2024","format":false,"excerpt":"After many months of dancing with MacTCP again (first round was decades ago of course) I decided to do it Right and get to the latest most patchiest version to see if it would help with some issues I\u2019m having. What issues do I have with MacTCP in 2024? And\u2026","rel":"","context":"In &quot;Apple&quot;","block_context":{"text":"Apple","link":"https:\/\/dillernet.com\/apple\/category\/apple\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/11\/macPlus-tcpip.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/11\/macPlus-tcpip.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/11\/macPlus-tcpip.jpeg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":86,"url":"https:\/\/dillernet.com\/apple\/2005\/12\/31\/cli-package-installer\/","url_meta":{"origin":1032,"position":3},"title":"CLI Package Installer","author":"admin","date":"December 31, 2005","format":false,"excerpt":"Reinstalling packages after a firmware update via the GUI is a drag. Luckily, you can do it quickly and easily with with a simple cli tool on your 770. Thanks to Andrew Flegg who tipped me off to this tool. Assuming you have SSH setup and your 770 is in\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":982,"url":"https:\/\/dillernet.com\/apple\/2024\/03\/15\/apple-ip-gatekeeping-in-2024\/","url_meta":{"origin":1032,"position":4},"title":"Apple IP Gatekeeping in 2024","author":"dillera","date":"March 15, 2024","format":false,"excerpt":"Feb 2025 - it's a year later and i'll update things here with any new information that comes out. There is a big new Guide from Steve to also help. Original Post To continue on from the last post, which discussed AppleTalk, Ethertalk, and how routing between different Apple Internet\u2026","rel":"","context":"In &quot;Apple&quot;","block_context":{"text":"Apple","link":"https:\/\/dillernet.com\/apple\/category\/apple\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/03\/MARCHintoshLogo-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/03\/MARCHintoshLogo-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/uploads\/2024\/03\/MARCHintoshLogo-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":83,"url":"https:\/\/dillernet.com\/apple\/2005\/12\/20\/bookmark-management-on-the-nokia-770\/","url_meta":{"origin":1032,"position":5},"title":"Bookmark Management on the Nokia 770","author":"admin","date":"December 20, 2005","format":false,"excerpt":"Ready to export your existing bookmarks onto the 770? Just as I wasn't willing to enter in my RSS feeds by hand, the same goes for my bookmarks. I wanted to export my perfectly good bookmark lists in Firefox and put them on the 770, since it is supposed to\u2026","rel":"","context":"In &quot;Nokia 770&quot;","block_context":{"text":"Nokia 770","link":"https:\/\/dillernet.com\/apple\/category\/nokia-770\/"},"img":{"alt_text":"DeerPark_bookmarks-sync.png","src":"https:\/\/i0.wp.com\/dillernet.com\/apple\/wp-content\/images\/DeerPark_bookmarks-sync.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/1032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/comments?post=1032"}],"version-history":[{"count":1,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/1032\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/posts\/1032\/revisions\/1033"}],"wp:attachment":[{"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/media?parent=1032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/categories?post=1032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dillernet.com\/apple\/wp-json\/wp\/v2\/tags?post=1032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}