You are not logged in.
Pages: 1
I cant seem to figure out how to fire up jshell, the command <jshell> isnt recognized <zsh: command not found: jshell>.
I installed the openjdk10 package per the wiki and then logged out and back in. Programs written in Java run fine, I suppose I'm missing some package?
Thanks!
Last edited by Kabir (2018-05-28 18:42:37)
Offline
Offline
Thanks! The files werent being sourced correctly, I ran:
source /etc/profile
in the terminal and was able to run jshell, but to make this persistent, I added the source line in my zshrc, is that correct?
% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/cuda/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Offline
I removed the source line from zshrc and rebooted and now jshell works without the source line being added. I guess logging out and back in must not have worked and I hadnt rebooted since I installed jdk.
Thanks!
Offline
Pages: 1