I am unable to install Java in my Windows 10 machine - java

I am trying to install Java JDK on my Windows 10 machine
on clicking on the EXE I am displayed with a message saying
"Do you want to allow this app to make changes to your device?"
When I click on "Yes" option. window popup disappears but the installation never starts. please refer attached screenshot.
Thank you.
enter image description herefile

Does your antivirus software block the installation?
Read through THIS comprehensive guide on how to install Java when it will not install, and don't skip any steps (like clean reboots) as they do matter.

Related

Cannot Start Cytoscape

This morning I downloaded Cytoscape v3.8.0 and I can no longer successfully open the app.
Before this, I was using v3.7.4 (I believe?) and did not encounter any issues. I am working off a laptop with Windows 10.
After realizing that I could not open Cytoscape I went and downloaded the most recent version of Java but that did not appear to help.
I also tried downloading the Cytoscape troubleshooter for Windows, however, it only downloads as a .txt file and I cannot figure out how to use that to test my system.
If I try opening the app, it appears very quickly with "Cytoscape 3.8.0 - Initializing OSGi container..." before crashing.
Any help or insight would be greatly appreciated!
It's a little hard to diagnose your issues without a little more information, unfortunately. When you say you downloaded the latest Java -- which version did you actually download? If you open up a command (cmd) window and change directory to the Cytoscape install, can you try to run cytoscape.bat? What does it do, and what error messages are printed? If that doesn't work, in that same window, type "java -version" and let us know which version of Java is set to be the default. That will help us figure things out.
If you are on a Mac, a recent update has caused OpenCL based Cytoscape Apps to fail and prevents Cytoscape from launching.
This will be fixed in future updates, but you can fix your Mac installation immediately by disabling OpenCL by either of the two following methods:
Download the disable-opencl.dummy file to your CytoscapeConfiguration
directory (in your user home directory).
Or, you can create an empty dummy file by running this command in Terminal:
touch ~/CytoscapeConfiguration/disable-opencl.dummy
These fixes are described at Cytoscape.org.

Why won't SQL Developer accept a JDK?

I downloaded Oracle 11g r2 and am trying to launch SQL Developer for the first time. However, it is asking for a JDK path. When I first tried a java.exe that I already had installed on my PC, SQL Developer said that it was not a JDK, so I tried the following steps, which have not yet resolved the problem.
1.) I went to the oracle jdk download page and explicitly downloaded jdk-8u-74-windows-x64,exe shown below
2.) I then let the installer install the program to C:\ProgramFiles\Java\jdk1.8_74\
3.) I next pointed the Oracle SQL Developer dialog box to the path of the java.exe in this new directory.
But Oracle SQL Developer just replaces the dialog box with a new empty dialog box. This repeats every time that I try.
Why can't Oracle SQL Developer accept this JDK? What specific steps need to be taken to get Oracle SQL Developer to the point where it understands that it has a JDK and thus moves further into the launch process?
A screen shot is at the following link:
http://s13.postimg.org/ilsqjdj1z/sql_developer_jdk.jpg
I would embed the url of the image into this view, but I need at least 10 reputation points to do that. So please click the link to view the screen shot.
Continuing Research:
I repeated the steps above with JDK 6, Build 45, but am getting the same failed results.
I would ask this in chat, but I need at least 20 reputation points to talk in a chat room.
If you are installing on 64-bit windows, get the 64-bit SQL Dev. It has the java built in, and so does not require the extra JDK.
It's possible you had a JRE, and not a JDK. Also, when it prompts for a path, don't select the Java.exe, instead you want the 'Java Home', for example:
C:\Program Files\Java\JDK1.8.0_60
Some more details here
Or, if you're on a Mac.
Or, if your 'java' moves on you - common on Mac's after an OS upgrade.

Install JRE without browser launch

I'm installing JRE using this command line in my NSIS script:
jre-7u45-windows-x64.exe /passive REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0 /L
this is no silent installation, as I want the user to see the install progress etc.
it works fine, but there is a huge annoyance.
When the JRE installer finishes it launches the web browser with this web page:
http://java.com/en/download/installed.jsp
Is there any way to prevent the JRE browser launch?
See this for Offline installation options: http://www.oracle.com/technetwork/java/javase/install-windows-141940.html
Then adjust command line for executing jre/jdk installer from NSIS script.
Good luck. Report back your progress, if you may. Thanks.
As I understand, you already have a JRE installer and you want to change its behaviour from the one you're developing. This is not possible since you don't have control over the installation script that created the JRE installer. The only workaround is to roll your own JRE installer - but you'd have to know exactly what else it does besides copying files.
One very strange possibility is to use /s option and provide your own visual feedback: either static, or dynamic by looking for expected files that are created in expected locations.

visualvm hangs on mac 0S10.8

VisualVm hangs when started from either the downloaded visualvm.dmg or the zip. It gets to the Visual VM Calibration dialog and then stops. There are no messages in the dialog box nor does clicking the OK button do anything.
I can't find any log in either my home or the extracted zip folder when I run either.
From the command line I get
./visualvm
Unable to find any JVMs matching version "1.7.0_10+".
Found jdkhome=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Any advice on how to diagnose the problem would be greatly appreciated.
It's telling you that you don't have a JDK/JRE with a version of 7 or higher. If you didn't install one, then it won't be there - download it from the oracle website, or install the Open JDK if you require version 7 or higher.
You should also be able to see error messages in the OS X console (but I doubt you'll get more detailed error messages than you already received)
Oracle link to install JRE 7
I've had the same issue, just resize the screen and you'll see the "I agree" button.
Or, add the "--laf Metal" arg to the startup of the application.
Hope it works for you, too!

Cannot uninstall Java JRE 1.7 32bits

For some reason my firefox browser stopped detecting java and now I can't run anything with java on it because it says that it's not installed, so I went to add/remove programs and tried to uninstall java but it just won't get removed.
http://rcupload.com/images/IDSnu.png
So when I try to uninstall it (Java(TM) 7 Update 5) a little window appears with a progress bar, after it completes it disappears but Java is still there..
this is the window that appears:
http://rcupload.com/images/HLUwZ.png
Here's what I tried to do:
1) Use CCleaner to uninstall it:
- I choose the program, press uninstall and it disappears, but when I refresh the list it will still be there. I also tried using the "remove entry" button in CCleaner and i just get a message saying "cannot delete msi installer'.
2) I tried using JavaRA:
- I ran it as administrator, clicked "remove older versions", and I got the message that Java JDK 1.7 was uninstalled and all the files, but now I see that there is no folder for it at "C:\program files (x86)\Java\" (there was one inside before, called something like jre-7) and the icon in the installed programs appears like a white box instead of looking the like the java logo.
3) I tried downloading java and installing it:
- I run it, it downloads and it gets to a screen where it asks me if I want to install a toolbar, I click next and I get this message:
http://rcupload.com/images/xiCIu.png
I also tried changing the destination folder. same result.
--
Resumed: I need to get rid of Java(TM) 7 Update 5 but the uninstaller seems not to work and files are missing.
Any help will be appreciated!
Thanks.
I was having the same exact problem, and solved it using Microsoft Fix it tool, here:
http://support.microsoft.com/mats/program_install_and_uninstall
Finally, a Microsoft troubleshooter that actually works !
I haven't experienced this before my self. Here's my guess. One may say this is a 'harsh' way to remove and cause system in-stability. But I don't see any other way with the given details.
Please don't continue if you don't understand every step. This is almost what the un-installer does behind the scenes. You will have to do them manually.
First Un-install Firefox.
It doesn't detect the Java version installed for some reason where the Java installer does. you'll have to re-install it later when everything is fine.
Delete (i mean, backup) your JRE folder in 'Program Files'
Open regedit, and find the key for Java Runtime under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete (export it first, just in case) the key. (You'll have to go through each key and see the DisplayName for them.)
This will remove the entry in Add/Remove programs and Windows will think there's no Java.
Remove Java path from your System's Environment variables.
This will cause some apps that check for Java to decide that there's no Java installed.
Run the un installer again (if it's still visible in Add/Remove Programs).
If Windows still has the reference to the uninstaller, this will cause it to update it self and remove any references because there's no registry entry, and no program files.
Reboot the machine.
This will flush any waiting changes, unregister stuff .etc.
Try installing Java again. (Installer should not detect that there's Java installed, because there's no Environment variables set, and no registry entries.)
Please try this at your own risk. This may cause issues in your system.
You may get a better answer if posted on superuser site.
Let us know the results.

Categories

Resources