Currently I had uninstalled Java6 from my mac. I tried installing Java 10 it did not install properly. One of my colleague bioinformatician uninstalled via terminal. The reinstallation of JAVA 10 or 8 or 6 is failing repeatedly. We tried via homebrewer as well. The java appears in system preferences but can not use it because not found in terminal when typed java -version. Neither Java folder is found in application support after installing. Did anyone faced this problem?
Currently using macOS High Sierra version 10.13.6
Related
First time ever using Java. I successfully installed the latest version from Adoptium, which is 17.0.1. I ran the HelloWorld program from the Windows 10 prompt without a hitch. Isn't there some type of IDE or something in the SDK? There's nothing on the windows start menu, and I can't find a JDK executable in the installed directory. What am I missing? Sorry for being such a noob!!
Im quite a newbies, this is what happen. For the first time, i installed jdk 8 to run jaspersoft ETL. after doing some development, i want to test run the ETL build on a server but it seems that the server is using the java 6 so i can't run it. Even a simple java program like hello world can't be executed (if compile with IDE using jre8). i can't install java 6 on the server since they wont give me permission. so im using the java compliance level setting to rebuild the ETL. i installed jdk 6 into my computer and configure the compliance level but it seems that whatever i do, the program wont build. so i figured there is maybe a conflict between java 6 and java 8 on my computer.
(here is actually my problem)
So i uninstall all the java version i have using the traditional control panel method. then i reinstall jdk 6 but during installation a message pops up saying "newer version of java already found" (something like that). i check on my Program Files/Java folder under C:, only jdk folder exist but no jre. i try uninstall and install it again but still have the same issue. Why do it keep saying that theres already a newer version of java found when im already have uninstall everything.
I already remove the registry using this method: https://java.com/en/download/help/manual_regedit.xml
but still got the same issue
The version is still exist because your operating system using it.
Fixed it. i install the troubleshooting software from microsoft for this kind of issue. got it from here: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed
I just downloaded Google's new android studio bundle(x64 for Windows) and also installed JDK8 (C:\Program Files\Java\jdk1.8.0_25) (x64 version).
But on the android studio setup it does not detect JDK and asks to locate its path. I located its path but still it says it is not valid.
I tried declaring new Environment variables (both system and User) but still I get same error.
I also tried in cmd, and it says that java & JDK is installed.
After that I reinstalled JDK 8 for windows x64 from Oracle. But no changes in android studio...
Please Help. !
I had the same problem. I discovered that it was caused because I installed the JDK while the Android Studio installer was still opened and at the prompt to load the location of the JDK. Closing the Android installer and then reloading it after the JDK installation had completed and was closed out, solved the installation problem for me.
In my case, I am using java8 and based on Doc I just had to add the following:
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
While running Java 6 something I tried to install Android Studio. Android Studio did not find Java 7 or Java 8, so it asked me to install at least Java 7 and gave a link to Java 7. While the original instance of Android Studio Installer was still alive, it would not find Java 7 or 8. killing and restarting Android Studio Installer worked just fine.
So install Java and restart the installer.
I have same error but i closely look into the note and then my problem solved :)
It needs JDK 7, as stated on the System Requirements page: http://developer.android.com/sdk/index.html#Requirements
Update:
For Android Studio 2.1, it needs JDK 8 for Windows or Linux, and JDK 6 for Mac.
I solved this problem by closing the installation file, and open it again as an administrator. Pre over the need to set jdk.
I have a working Java SWING-based desktop application, and I'm being asked if it can be run on the Microsoft Surface Pro or Pro 2. As I understand it, these are using stock Windows 8/8.1 and will be able to run any Windows app normally, is this correct?
Are there any caveats or special considerations when running my app on these devices?
Edit: If it matters, the JRE would be distributed together with the application, so installing Java isnt an issue.
... will be able to run any Windows app normally, is this correct?
You will be able to run Java programs, but only in Desktop mode after installing the JRE. Java 7 Update 10 added official support. See Java on Windows 8 FAQ.
By default, Java is not installed on the Surface Pro. There is no java.exe or javac.exe when attempting to run from the command line. You have to go to Oracle and fetch it.
I was able to install the JRE on my Surface Pro. The package was installed in C:\Program Files (x86)\Java\jre7\bin. After the install, java.exe -version worked from the command line (after fixing PATH). The install also included an IE plugin, and it appears to have worked with IE 10 from the tablet. I was also able to install the x64 JRE. I did not try to install the JDK.
There may be something offered on the Windows App Store, too. But I don't use the store, so I don't know.
I am using Ubuntu operating system with Java version 1.7.0_15 (Iced Tea). I am unable to access the Java web start application. Every time I start it I get message that Java web start requesting JRE 1.7 and then says that it is unable to install so manually install and then it failed to install the JRE. I do not know what to do.
Here is my java version
Here is few important information
1. I have validated JNLP file using JaNeLa and there is no error.
2. Ubuntu is opening Application with JRE 1.6 perfectly fine.
3. On Windows every version is running perfectly fine.
4. I have tried with deployment tool kit but the always redirect me to the Sun page to download the linux version of JRE and even after installing that it again redirect me to the download page.
Please let me know if I can provide more information.
So finally after working whole day I have found the problem with my system. I am not sure why my question got -3 but it was valid question. The problem was with the Java plugin in the Firefox browser. Although I have installed jdk 7 on my machine but the firefox plugin was still pointing to the jre6 so giving error. So I have to manually create the link for the jre 7 in my machine
ln -s /usr/lib/jvm/<<location of jre 7>>/jre/lib/i386/libnpjp2.so ~/.mozzilla/plugins
Then I restarted the browser and make sure that I have the latest plugin and it started working, So it was not the java installed but it was firefox plugin.
Just FYI, oracle has stopped it support for java plugin for linux due to some licensing so you have to install it manually. Thanks
You can check the installed plug-in by typing 'about:plugins' in your address bar of firefox
IMHO OpenJDK 7 is not a JRE 7.
You may uninstall it before install oracle jre. Otherwise you have to use sudo update-alternatives to define the default java version
See https://askubuntu.com/questions/67909/how-do-i-install-oracle-jdk-6