+ 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 Respuestas
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