Unable to open Java Control Panel, inspite of having Java installed.
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unable to open Java Control Panel, inspite of having Java installed.
Have java installed, and on using the command:
Code:
javaws -viewer
, am unable to open the Java Control Panel; inspite of the command able to open the same, in a youtube video.
Java Control Panel, is not appearing as an option in the 'Start panel' too.
The below is the list of commands, that shows the same.
//have the command 'control.exe' run to open the 'Control Panel', to open 'Programs'//
Code:
Microsoft Windows [Version 10.0.19045.4291]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>java -version
java version "20.0.1" 2023-04-18
Java(TM) SE Runtime Environment (build 20.0.1+9-29)
Java HotSpot(TM) 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)
C:\Windows\system32>javac -version
javac 20.0.1
C:\Windows\system32>echo %JAVA_HOME%
D:\Program Files\JAVA\
C:\Windows\system32>control.exe
C:\Windows\system32>javaws -viewer
'javaws' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>
Edit: My system is a Windows 10 one, sorry for forgetting to specify the same earlier.
I would say it is `javacpl.exe` Nonetheless (as far as I know) javaws (i.e. Java Web Start) has been removed from newer java versions. https://en.wikipedia.org/wiki/Java_Web_Start
I would say it is `javacpl.exe` Nonetheless (as far as I know) javaws (i.e. Java Web Start) has been removed from newer java versions. https://en.wikipedia.org/wiki/Java_Web_Start
It can be D:\Progra~1\JAVA\bin
It's yourself who can find files on your computer.
Don't know why you are so confident that the exe file: javacpl.exe, must be there in the 'bin' folder.
If you allow screenshot, then could show; but now how to show that the stated exe file is not there, is unclear.
Maybe an example could help. (I have a Java8 installed in directory c:\Java8)
Code:
Microsoft Windows [Version 10.0.22000.2777]
(c) Microsoft Corporation. Minden jog fenntartva.
C:\Users\lorinczy>set JAVA_HOME=C:\JAVA8
C:\Users\lorinczy>set PATH=%JAVA_HOME%\BIN;%PATH%
C:\Users\lorinczy>where javacpl.exe
C:\JAVA8\bin\javacpl.exe
C:\Users\lorinczy>javacpl.exe
<after a short delay a window titled 'Java Control Panel' appears>
C:\Users\lorinczy>
- javacpl.exe exists only in Oracle Java, but only in versions before 11
- it is missing from OpenJDK altogether
The same is true for javaws.exe: it never existed in OpenJDK, and has been deleted from Oracle Java in version 11
The replacement product is Called 'IcedTea-Web', it has a program called 'javaws.exe' and an 'itweb-settings.exe', the latter is similar to the Control Panel.
Unfortunately, over many years I have had tremendous issues with "Java." On Windows and on MacOS (OS/X). Control panels and installation/update procedures which "simply didn't work." I've reported these issues as best I could but they still persist.
Also equally irritating (to me ...) is the obvious fact that "Java is a constantly-moving target." The technology doesn't impress me much . . .
Last edited by sundialsvcs; 04-21-2024 at 08:49 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.