pivotal / workstation-setup

Scripts to automatically set up a machine for development the "Tanzu Labs" way
https://github.com/pivotal/workstation-setup
MIT License
328 stars 247 forks source link

Java is not installed #278

Closed YuriiBoyko closed 3 years ago

YuriiBoyko commented 4 years ago

Prerequisites: latest version of workstation-setup is checked out.

When: running script with parameters ./setup.sh java Get following result:

Customizing OS X configuration

Configuring iTerm
Configuring ShiftIt
Configuring FlyCut

Installing vim configuration
~ ~/workspace/workstation-setup
~/workspace/workstation-setup
java
./scripts/opt-in/java.sh

Installing most recent version of Java
Error: Cask 'java' is unavailable: No Cask with this name exists. Did you mean one of these?
charles-applejava         eclipse-javascript        java6                     netbeans-java-se
eclipse-java              java-beta                 netbeans-java-ee          oracle-jdk-javadoc

Java is not installed.

iboiko-mbp:workstation-setup iboiko$ java -version
No Java runtime present, requesting install.

Expected result: Java is installed.

professor commented 3 years ago

I haven't installed java in awhile. Do you have a recommendation?

joemoore commented 3 years ago

Fixed.