Why does my terminal do this Last login: Sun Jun 7 16:55:39 on console VovoGaming:~ flynnwaters$ /Users/flynnwaters/Desktop/Minecraft\ Server/Start.command ; exit; /Users/flynnwaters/Desktop/Minecraft Server/Start.command: line 3: java: command not

WHY DOES MY TERMINAL DO THIS?

Last login: Sun Jun 7 16:55:39 on console

VovoGaming:~ flynnwaters$ /Users/flynnwaters/Desktop/Minecraft\ Server/Start.command ; exit;

/Users/flynnwaters/Desktop/Minecraft Server/Start.command: line 3: java: command not found

logout


[Process completed]






MacBook Air, OS X Yosemite (10.10.2)

Posted on Jun 7, 2015 12:03 AM

Reply
4 replies

Jun 7, 2015 9:39 AM in response to flynnfromnoosa

First, check the preferences to make sure you're not running the command on startup. If not, see below.

Back up all data.

Select

Shell ▹ New Command

from the Terminal menu bar. Uncheck the box marked

Run command inside a shell

if checked.

Copy and paste the following line into the text box that opens, then press return:

mkdir disabled_shell_files

Close the Terminal window that opens. Repeat with this line:

mv .profile .bash_history .bash_profile .bashrc .inputrc disabled_shell_files

Your old shell initialization and history files will be saved in a directory named "disabled_shell_files" at the top level of your home directory. It's normal that some of these files will not exist, and therefore you will get some "no such file" errors.

Close the window, open a new one, and test.

Jun 7, 2015 2:37 PM in response to Linc Davis

Can you please do a Video by Steps or Photos for each step thank you.

Because When I do the Last command it says this....



-mv: rename .profile to disabled_shell_files/.profile: No such file or directory

-mv: rename .bash_profile to disabled_shell_files/.bash_profile: No such file or directory

-mv: rename .bashrc to disabled_shell_files/.bashrc: No such file or directory

-mv: rename .inputrc to disabled_shell_files/.inputrc: No such file or directory


[Process completed]


















This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why does my terminal do this Last login: Sun Jun 7 16:55:39 on console VovoGaming:~ flynnwaters$ /Users/flynnwaters/Desktop/Minecraft\ Server/Start.command ; exit; /Users/flynnwaters/Desktop/Minecraft Server/Start.command: line 3: java: command not

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.