Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

To get into the control panel, I do ‘win+r’ & ‘control’. With -I ‘JAVA’, I can search for it. Can anyone tell me how to directly access Java from cmdline?

1 Answer

0 votes
by (19.7k points)

You can try something like the below to replace the path with Java installation: 

control "C:\Program Files\Java\jre\bin\javacpl.cpl"

Javaws -viewer works as well. Remember to run all these commands with admin privileges.

Interested in Java? Check out this Java tutorial by Intellipaat.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 12, 2021 in Java by Jake (7k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...