linux-china / jenv

Java enVironment Manager
http://jenv.io
Apache License 2.0
603 stars 82 forks source link

Stop! java is not a valid candidate. #61

Open hi2karthik opened 7 years ago

hi2karthik commented 7 years ago

I am seeing the error Stop! java is not a valid candidate.. I just installed jenv on my Mac (macOS Sierra). Here is the log

› jenv selfupdate

Updating jenv...
Purge existing scripts...
Download new scripts to: /Users/kvijayak/.jenv/tmp/jenv-0.1.0.zip
Extract script archive...

jenv upgraded successfully!
Updating all repositories
Repositories upgraded!

› jenv repo update
Updating all repositories
Repositories upgraded!

› jenv all
<empty>

› jenv ls java
Stop! java is not a valid candidate.

› ls .jenv/repo/central/
candidates  candidates.txt  name.txt  url.txt  version/

› cat .jenv/repo/central/candidates
accumulo activator activemq ahc akka android ant antlr antxconfig apacheds archiva artemis artifactory avatar baratine bazel blur bookkeeper boot brooklyn btrace buildr bukkit burp byteman cassandra ceylon checker clojure crash csrf_tester ctakes datastaxdev dcsdk derby drill druid duke easyant eclipselink elasticmq elasticsearch equinox exhibitor fabric8 felix flink flume flyway forge frege gae gaiden gant gatling gcviewer geode geronimo giraph gitbucket glassfish glide glu go go-agent go-server golo gora gosu graalvm gradle grails greys gridgain griffon groovy groovyhelp groovyserv gwt h2 hadoop hama hawt hazelcast hbase hedwig hive hornetq housemd ignite immutant infinispan ireport jad jarinfo java javadoc jbake jboss jconvert jdsdk jena jenkins jetty jflex jhiccup jmeter jppfadmin jppfdriver jppfnode jrockit jruby jspwiki juddi jvmtop jython kaazing kafka karaf kibana knox kotlin kv kylin lazybones lein liquibase logstash luke mahout mail_catcher marmotta mat maven mongodb mrql nailgun narayana neo4j nexus nutch ofbiz openfire opensearch orientdb pgstudio pig play plugproxy presto proguard qpidbroker quercus redline relproxy resin restclient restshell riak robovm roo rundeck s3cmd s4 sbt sbuild scala scribble seam shark simpleci sockettest solr sonar spark sqoop squirrelsql storm tair tajo tika tomcat tomee torquebox ttorent uima ultraesb vark vertx vfs virgo voldemort webgoat weblogic weka wildfly wlp wookie xd xwiki zico zookeeper zorka%
linux-china commented 7 years ago

please try "jenv repo update"