Code Monkey home page Code Monkey logo

sdkman.github.io's People

Contributors

hho avatar marc0der avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdkman.github.io's Issues

"sdk" command cannot handle PATH containing free spaces

I installed sdkman from within babun on a Windows machine. Unfortunately, on Windows, the PATH environment variable often contains a free space because of programs installed in the "Program Files" or "Program Files (x86)" directories, e.g.:

PATH=/cygdrive/c/Program Files (x86)/Attachmate/Reflection X Advantage:/cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared:/cygdrive/c/Program Files/Perforce:/cygdrive/d/Program Files/Java/jdk1.8.0_60/bin

The embedded spaces cause trouble for the sdk command. The output from "sdk ls gradle" is as follows:

{ ETMS } master » sdk ls gradle                                               /cygdrive/c/Users/Dave/IdeaProjects/ETMS
__sdkman_path_contains:local:2: not valid in this context: (x86)/Attachmate/Reflection
Files=''
Files=''
Files=''
Files=''
SQL=''
Files=''
Files=''
Files=''

Can sdkman be enhanced to regard the colon (":") character as the only valid separator of path elements on Windows?

A workaround is to manually determine the 8-character DOS alias for each directory name that contains spaces, and substitute the value. For example, on my machine,

/cygdrive/d/Program Files/Java/jdk1.8.0_60/bin and
/cygdrive/d/Progra~1/Java/jdk1.8.0_60/bin are aliases.

Add a install step for Mac OSX

Something you can add to install documentation?

While installing SDKMAN on Mac OSX, I noticed a tip that helps a lot. Normally, when setting up SDK on mac, the dot-folders in your home directory are all hidden and the IntelliJ-IDEA IDE hides those folders from you when browsing for your Java SDK.

If you use an IDE like IntelliJ-IDEA:

open ~/.sdkman # to open Finder in secret dot-folder
Cntrl-Command-T # to add to favorites
Then, open your IDE, configure your SDK in your ide and you can browse to the folder as a favorite.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.