How to set path and create directory in cmd | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to set path and create directory in cmd

18th Jun 2017, 8:32 AM
R Prathibha
R Prathibha - avatar
3 Answers
+ 2
setx path "%path%; C:\Program Files\Java\jdk1.6.0_27\bin;  to set the the path
18th Jun 2017, 11:07 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
if u r talking about creating package using CMD then first u have to write package package_name; in ur java code at the top.. and then save it as class_name.java Now open CMD and type javac –d . class_name.java
18th Jun 2017, 11:10 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Question unclear, please elaborate
18th Jun 2017, 8:45 AM
Limitless
Limitless - avatar