LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2024, 03:34 AM   #1
ajiten
Member
 
Registered: Jun 2023
Posts: 375

Rep: Reputation: 4
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.

Last edited by ajiten; 04-20-2024 at 04:08 AM.
 
Old 04-20-2024, 03:47 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,868
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
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

The replacement is Iced-Tea-Web: https://en.wikipedia.org/wiki/IcedTea#IcedTea-Web

Last edited by NevemTeve; 04-20-2024 at 03:56 AM.
 
Old 04-20-2024, 04:05 AM   #3
ajiten
Member
 
Registered: Jun 2023
Posts: 375

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by NevemTeve View Post
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

The replacement is Iced-Tea-Web: https://en.wikipedia.org/wiki/IcedTea#IcedTea-Web
Sorry, but asked about a Command-Prompt command; and am unable to find in the 'bin' folder, the 'javacpl.exe' file.

-----------------------

Edit: My system is a Windows 10 one, sorry for forgetting to specify the same earlier.

Last edited by ajiten; 04-20-2024 at 04:08 AM.
 
Old 04-20-2024, 05:26 AM   #4
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,868
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
It can be D:\Progra~1\JAVA\bin
It's yourself who can find files on your computer.
 
Old 04-20-2024, 06:11 AM   #5
ajiten
Member
 
Registered: Jun 2023
Posts: 375

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by NevemTeve View Post
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.
 
Old 04-20-2024, 06:59 AM   #6
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,868
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
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>

Last edited by NevemTeve; 04-20-2024 at 07:00 AM.
 
Old 04-20-2024, 07:24 AM   #7
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,868
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Googled around a bit, and I have some bad news:

- 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.

https://adoptopenjdk.net/icedtea-web.html

Note: the name of the binary is javacpl.exe in Windows, but ControlPanel in Unix. It might have something to do with the 8+3 limit in Dos/Windows3.x

Last edited by NevemTeve; 04-20-2024 at 07:33 AM.
 
Old 04-21-2024, 08:48 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
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.
 
  


Reply

Tags
java



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vesta Control Panel – Simple Yet Powerful Control Panel For Linux LXer Syndicated Linux News 0 08-04-2020 09:01 AM
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
can't configure my sm56 motorolla modem in fedora inspite of downloading and installi d7thstring Linux - Newbie 3 01-05-2005 10:29 PM
sun java not working inspite of successful install coolamit78 Linux - Software 2 03-02-2004 11:43 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration