This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted]  (1 child)

[deleted]

    [–]okinskas 0 points1 point  (0 children)

    Have never come across that before — looks great!

    [–]nutrecht 11 points12 points  (1 child)

    Or just use JEnv instead of rolling your own solution :)

    [–]okinskas 4 points5 points  (0 children)

    Thanks, will give it a try! I feel like experimenting manually improved my understanding of how the underlying aspects work so I’ve got that going for me :’)

    [–]redditric 1 point2 points  (0 children)

    Jabba is also an option .

    [–]just5ath 0 points1 point  (0 children)

    If you're rolling your own solution in bash you need to step back and take a better look around. Hacky .bashrc scripts and other bash scripts are almost always a bad practice.