How to set Classpath ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to set Classpath ?

Hey, In My Pc i had set the path of java but don't know how to set Classpath permanently. Can you please help me to set Classpath with screen shot. Thank youšŸ™‚

30th Jun 2019, 3:18 PM
Rohit Kumar
Rohit Kumar - avatar
2 Respostas
30th Jun 2019, 5:52 PM
Denise RoƟberg
Denise RoƟberg - avatar
+ 1
if you use terminal to run prg, you can set class path as parameter for compiler javac and java : javac -d .class Example.java javac -cp .class Example use path actual directory\.class\
30th Jun 2019, 7:07 PM
zemiak