Solved Do I really need java?


rfhar

Active member
Member
Local time
11:51 PM
Posts
98
OS
Win 11 home 23H2
Win 11 Version 23H2

I have had Java on my computer for years but do not know why. With the latest update it will not; first it was error 1602 and now it is “Can not determine a valid Java home”. I do not game nor know any other reason for Java. As such if there is no reason for me to have it, I will be happy to rid of Java.



What say?
 

My Computer My Computer

At a glance

Win 11 home 23H23.6 Mhz Intel Core i7 Core i7-9700KGSKILL Ripjaws 16GB DDR4 MemoryGigabyte GeForce GTX 1050i Graphics
OS
Win 11 home 23H2
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
3.6 Mhz Intel Core i7 Core i7-9700K
Motherboard
Asus Prime Z390-A Motherboard
Memory
GSKILL Ripjaws 16GB DDR4 Memory
Graphics Card(s)
Gigabyte GeForce GTX 1050i Graphics
Sound Card
MoBo
Monitor(s) Displays
HP M22fFHD monitor
Screen Resolution
1920 x 1080
Hard Drives
SHGP-31-1000GM SSD
SAMSUNG 850 PRO 2.5" 256GB SSD
1 Tetra Seagate ST1000DX001-1NS162
Exterior Gotega CD/DVD
PSU
600 Watt power supply
Case
Fractal Design Meshify C case
Cooling
Cooler Master 120mm CPU Cooler
Keyboard
Iogi K540
Mouse
Logi 310Edge
Internet Speed
7GB Down - - -IGB Up
Browser
Brave mostly lately
Antivirus
Windows
Other Info
Win11 ver 23H2 (OS Build 22361.3085
The short, unhelpful, answer is that you only need it if you have an application that requires it. You can uninstall it, and if you run across an application that needs it, it will let you know. Then you can re-install it.
 

My Computer My Computer

At a glance

Windows 11 Enterprise 25H2
OS
Windows 11 Enterprise 25H2
JAVA can be uninstalled but a program that needs it may not work, should get a message to that effect and if the program is needed would have to reinstall.
 

My Computers My Computers

  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 11th Gen. 2.40GHz12GB
    OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 10th Gen. 2.90GHz16GBOnboard, no VGA, using a DisplayPort-to-VGA a...
    Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
A quick and dirty check in Powershell
Powershell:
Get-ChildItem -Path C:\ -Recursive -Include *.jar -ErrorAction SilentlyContinue

Although this isn't going to cover Java apps with exe wrappers and also some Java apps will have their own copy of the java compiler pre-packaged
 

My Computer My Computer

At a glance

Linux Mint
OS
Linux Mint
Computer type
Laptop
Manufacturer/Model
System76 Lemur Pro
A quick and dirty check in Powershell
Powershell:
Get-ChildItem -Path C:\ -Recursive -Include *.jar -ErrorAction SilentlyContinue

Although this isn't going to cover Java apps with exe wrappers and also some Java apps will have their own copy of the java compiler pre-packaged
this is what I get as an answer:
PS C:\Users\Ronz> Get-ChildItem -Path C:\ -Recursive -Include *.jar -ErrorAction SilentlyContinue
Get-ChildItem : A parameter cannot be found that matches parameter name 'Recursive'.
At line:1 char:25
+ Get-ChildItem -Path C:\ -Recursive -Include *.jar -ErrorAction Silent ...
+ ~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
What did I do wrong?
 

My Computer My Computer

At a glance

Win 11 home 23H23.6 Mhz Intel Core i7 Core i7-9700KGSKILL Ripjaws 16GB DDR4 MemoryGigabyte GeForce GTX 1050i Graphics
OS
Win 11 home 23H2
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
3.6 Mhz Intel Core i7 Core i7-9700K
Motherboard
Asus Prime Z390-A Motherboard
Memory
GSKILL Ripjaws 16GB DDR4 Memory
Graphics Card(s)
Gigabyte GeForce GTX 1050i Graphics
Sound Card
MoBo
Monitor(s) Displays
HP M22fFHD monitor
Screen Resolution
1920 x 1080
Hard Drives
SHGP-31-1000GM SSD
SAMSUNG 850 PRO 2.5" 256GB SSD
1 Tetra Seagate ST1000DX001-1NS162
Exterior Gotega CD/DVD
PSU
600 Watt power supply
Case
Fractal Design Meshify C case
Cooling
Cooler Master 120mm CPU Cooler
Keyboard
Iogi K540
Mouse
Logi 310Edge
Internet Speed
7GB Down - - -IGB Up
Browser
Brave mostly lately
Antivirus
Windows
Other Info
Win11 ver 23H2 (OS Build 22361.3085
@rfhar It should be Recurse, not Recursive.
 

My Computer My Computer

At a glance

Windows 11 Enterprise 25H2
OS
Windows 11 Enterprise 25H2
Delete it!!!

I've not installed Java for years, and none of my programs seem to require it.

TM :cool:
 
The short, unhelpful, answer is that you only need it if you have an application that requires it. You can uninstall it, and if you run across an application that needs it, it will let you know. Then you can re-install it.
This.

Also its a huge security risk, so if a program does need it, try to find a more modern alternative.

Edit: I am talking about the java program itself, not the ones baked into other software.
 
Last edited:

My Computers My Computers

  • At a glance

    Windows 11 ProRyzen 7 5700 X3D64 GB DDR4 3600mhz Gskill Ripjaws VRTX 4070 Super , 12GB VRAM Asus EVO Overclock
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Built
    CPU
    Ryzen 7 5700 X3D
    Motherboard
    MSI MPG B550 GAMING PLUS
    Memory
    64 GB DDR4 3600mhz Gskill Ripjaws V
    Graphics Card(s)
    RTX 4070 Super , 12GB VRAM Asus EVO Overclock
    Monitor(s) Displays
    Gigabyte M27Q (rev. 2.0) 2560 x 1440 @ 170hz HDR
    Hard Drives
    2TB Samsung nvme ssd
    4TB Western Digital nvme ssd
    PSU
    CORSAIR RMx SHIFT Series™ RM750x 80 PLUS Gold Fully Modular ATX Power Supply
    Case
    CORSAIR 3500X ARGB Mid-Tower ATX PC Case – Black
    Cooling
    ID-COOLING FROSTFLOW X 240 CPU Water Cooler
    Keyboard
    Logitech G213
    Mouse
    Logitech G203
    Internet Speed
    1.2gbps Fiber 😎
  • At a glance

    Chrome OSIntel Pentium Quad Core4GB LPDDR4
    Operating System
    Chrome OS
    Computer type
    Laptop
    Manufacturer/Model
    HP Chromebook
    CPU
    Intel Pentium Quad Core
    Memory
    4GB LPDDR4
    Monitor(s) Displays
    14 Inch HD SVA anti glare micro edge display
    Hard Drives
    64 GB emmc
I don't have it installed (not for years) but it's everywhere, scripts, plugins and even an .exe in 3D Mark. :sneaky:

2024-09-20_14h19_43.png

2024-09-20_14h21_19.png
 

My Computers My Computers

  • At a glance

    Win 11 ProAMD Ryzen™ 7 7730U24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)512MB ATI AMD Radeon Graphics (ASUStek Comput...
    OS
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)
    Graphics Card(s)
    512MB ATI AMD Radeon Graphics (ASUStek Computer Inc)
    Monitor(s) Displays
    Generic PnP Monitor (1920x1200@60Hz) - P1 PLUS (1920x1080@59Hz)
    Screen Resolution
    1920 X 1200
    Hard Drives
    953GB Western Digital WD
    PSU
    45 Watts
    Mouse
    Lenovo Bluetooth.
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • At a glance

    Windows 11AMD Ryzen 7 5800H / 3.2 GHz32 GB DDR4 SDRAM 3200 MHzNVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER NITRO
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    32 GB DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    Samsung 970 Evo Plus 2TB NVMe M.2
    PSU
    180 Watt, 19.5 V
    Mouse
    Lenovo Bluetooth
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
I don't have it installed (not for years) but it's everywhere, scripts, plugins and even an .exe in 3D Mark. :sneaky:
Right, apps like 3D Mark come bundled with their own JRE, which is nice. Remove the app, remove the JRE. No more guessing whether some random installation of Java is needed.
 

My Computer My Computer

At a glance

Windows 11 Enterprise 25H2
OS
Windows 11 Enterprise 25H2
Thanks Guys No more Java problem.....
 

My Computer My Computer

At a glance

Win 11 home 23H23.6 Mhz Intel Core i7 Core i7-9700KGSKILL Ripjaws 16GB DDR4 MemoryGigabyte GeForce GTX 1050i Graphics
OS
Win 11 home 23H2
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
3.6 Mhz Intel Core i7 Core i7-9700K
Motherboard
Asus Prime Z390-A Motherboard
Memory
GSKILL Ripjaws 16GB DDR4 Memory
Graphics Card(s)
Gigabyte GeForce GTX 1050i Graphics
Sound Card
MoBo
Monitor(s) Displays
HP M22fFHD monitor
Screen Resolution
1920 x 1080
Hard Drives
SHGP-31-1000GM SSD
SAMSUNG 850 PRO 2.5" 256GB SSD
1 Tetra Seagate ST1000DX001-1NS162
Exterior Gotega CD/DVD
PSU
600 Watt power supply
Case
Fractal Design Meshify C case
Cooling
Cooler Master 120mm CPU Cooler
Keyboard
Iogi K540
Mouse
Logi 310Edge
Internet Speed
7GB Down - - -IGB Up
Browser
Brave mostly lately
Antivirus
Windows
Other Info
Win11 ver 23H2 (OS Build 22361.3085
Back
Top Bottom