Solved Do I really need java?


rfhar

Member
Member
Local time
10:24 PM
Posts
93
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

System One

  • 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
    Edge 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 Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
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

System One System Two

  • OS
    Win11 Pro RTM
    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
  • Operating System
    Windows 11 Pro RTM x64
    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

System One

  • OS
    Windows 11
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

System One

  • 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
    Edge mostly lately
    Antivirus
    Windows
    Other Info
    Win11 ver 23H2 (OS Build 22361.3085
@rfhar It should be Recurse, not Recursive.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
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

System One System Two

  • 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
    2TB XPG 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
    Internet Speed
    900mbps DOWN, 100mbps UP
  • 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

System One System Two

  • OS
    Win 11 Home & Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    15.0GB 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
  • 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 Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Thanks Guys No more Java problem.....
 

My Computer

System One

  • 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
    Edge mostly lately
    Antivirus
    Windows
    Other Info
    Win11 ver 23H2 (OS Build 22361.3085
Back
Top Bottom