set classpath to run java apps from any folder on mac

  Рет қаралды 25,264

Mian Ahmad

Mian Ahmad

Күн бұрын

Пікірлер: 18
@felipesosapatino977
@felipesosapatino977 5 жыл бұрын
ufff pana, que video mas chimba, me sirvio demasiadisimo sigue asi plox, no te dejes intimidar de los envidiosos
@st_bakerino
@st_bakerino 4 жыл бұрын
how to add a second folder to class path?
@asbat88
@asbat88 4 жыл бұрын
If you want to add another folder then just append it separating by colon. E.g. export CLASSPATH=$CLASSPATH:/Users/mian/javatest:/users/mian/secondfolder
@st_bakerino
@st_bakerino 4 жыл бұрын
@@asbat88 Thank you!
@MarkWilder68
@MarkWilder68 10 жыл бұрын
Ok it must be me then that's what I was doing and I'm getting an error. Thanks for your help this tut still helped. Thanks
@leonardoabate4401
@leonardoabate4401 3 жыл бұрын
Sir, when I look at the file list, I see there is a BASH_PROFILE file ALREADY. I think it is important, so I would not like to overwrite it. Do you have any hint to APPEND your commands to it instead?
@asbat88
@asbat88 3 жыл бұрын
If you find the file then just open it and add the lines. Do vim BASH_PROFILE or use any text editor to open the file and write according to the video. You will also be super user to edit that file.
@MarkWilder68
@MarkWilder68 10 жыл бұрын
Yes I have root enable and I can also get there with the vim call. My issues is once I have :wq nothing happens. What do I hit AFTER THAT to make it save? Do I hit command, control, function, enter or what? What sets the :wq command into action so the changes take place? Thank you
@asbat88
@asbat88 8 жыл бұрын
You need to learn vi or vim editor. press escape button and w and then q button to write changes to a file and quit the file.
@rogtinku638
@rogtinku638 Жыл бұрын
Hi sir Sir tomcat java program is getting error sir Plz tell me solution
@charbelshibaia3001
@charbelshibaia3001 8 жыл бұрын
that wq part how did you do it, you just jumped straight to that insert part
@mr.onetwonine
@mr.onetwonine 7 жыл бұрын
first type esc then shift+colon+wq it will save and direct u to terminal
@mr.onetwonine
@mr.onetwonine 7 жыл бұрын
thank u soooooo much..........
@MarkWilder68
@MarkWilder68 10 жыл бұрын
DUDE! WHAT! :WQ what are you hitting I'm getting an error. What are you hitting to save.?
@asbat88
@asbat88 10 жыл бұрын
Switch to root user. Check on the web how to enable root user. If you notice there is # symbol instead of $ at terminal which means root user is logged in.
@MarkWilder68
@MarkWilder68 10 жыл бұрын
Didn't see that but I thank you for getting back with me. The problem I'm having is when I do :wq I get an error and it is not saving. What key(s) are hitting after you type :wq to save? Thanks
@asbat88
@asbat88 10 жыл бұрын
shift + ; to get : w q See how to write and quit in vi text editor. The error may be because of permission issues.
@asbat88
@asbat88 10 жыл бұрын
press enter, then close the terminal. Open another terminal and try the command.
Java - What is the classpath?
4:09
The JDK Angel
Рет қаралды 15 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
How Use Packages By Setting Classpath in Java on Mac OSX
3:33
Rohit Tripathi
Рет қаралды 10 М.
PATH Variable (Mac)
4:15
Susan B.
Рет қаралды 21 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
How to edit files in the Terminal (Mac & Linux)
6:14
Not Defined Tech
Рет қаралды 6 М.
Setting Classpath For Apache Tomcat.....
8:32
The Coding Place
Рет қаралды 14 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН