Netbean does not install - java

I am trying to start this MOOC here: http://mooc.fi/courses/2013/programming-part-1/, and it instructs me to install Netbean. I have downloaded JDK as instructed on the website, and then tried to install Netbean, but the installer would not open. What happens is the computer appears as if it is loading (blue circle on Windows 8), but never actually opens the installer.
I have an intel i5-4210Y CPU at 1.50GHz, 8gb of RAM, and 64 bit OS. I have 743mb remaining on my C drive.
Any help would be greatly appreciated.

A easy way to "Install" Netbeans if you are having issues with the installer is to use the zip.
It can easily be found here:
https://netbeans.org/downloads/zip.html
Depending on what you want to do you will select the package you want. Im guessing since you're taking an online course in java, then you are not a professional programmer, so you wont need JavaEE. I think your best bet is to download "netbeans-8.1-201510222201-javaee.zip" and extract it to a place you can find it, maybe your desktop, or Program Files if you are an admin. Your executable will be in the BIN folder after you extract netbeans. You will see netbeans.exe, netbeans (this is a linux sh file, you don't need it), and netbeans64.exe.
Depending on what system you have, run the appropriate application.
netbeans.exe for x86 windows
netbeans for linux
netbeans64.exe for x64 windows.

Related

How to make installer on Linux, Mac, and Windows?

I have developed a program using Java SE on Windows 7.
I build this app and it runs well on Windows.
I tried to run on Linux, so it runs but after some steps of:
Removing OpenJDK app.
Install Java JDK from terminal
Run jar file from terminal.
I need to make an installer on Windows - Linux - Mac, which installs JDK package and make the program run by double clicking.
Try using JarSplice. It is a nifty tool for converting Jar files into runnables for different systems. There are lots of tutorials on the internet on how to use it, although it is very well labelled and I found it simple enough to use.

How to Troubleshoot Java JRE Windows 8.1 Installation (the installer does nothing, reports no errors)

I am trying to install the latest Java JRE for Windows 8.1:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
And none of the installers work. Online/Offline/x86/x64
I double-click the installer, get the UAC popup, approve, and then it thinks for a second and then just does nothing. How can I troubleshoot this more?
Things I've Tried:
Disabling UAC
Disabling all anti-virus
Disabling Windows Firewall / Defender
Downloading older version of Java (still does nothing when run)
Running as Administrator
Launching from admin-command-line
Changing compatibility mode (all of vista -> windows 7)
Running in Safe Mode (same behavior)
Uninstalling all older Java installations (big mistake)
Monitoring Process List - the java installer pops up for a second and
disappears
Installing through the JDK - JDK installer also does nothing when launched
Event Viewer shows no errors
I can't find any logs or errors that might help narrow down what the issue could be.
Any help would be very much appreciated. If there are any additional tools I could check out to help with troubleshooting, or any logs people know of, I could use any help I could get.
Thank you!!
After hours of fiddling around, I think I finally have something working. It seems that there's some weirdness for any system that has ever upgraded their version of Windows (I went from 8 to 8.1) with some sort of MSI ID sort of thing. So, here's how I finally ended up:
HOW I FIXED:
1) The issue started after the Java 8 "51" installer. So the 51 still works, get it here:
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
You want: jdk-8u51-windows-x64.exe (or i586)
Install older version
2) download latest Java .zip archive (like jre-8u91-windows-i586.tar.gz ) and unzip it in any location, preferably "c:\Program Files\Java"
3) Go to "C:\Program Files\Java" and rename jre1.8.0_51 to something else ("jre1.8.0_51_bak" maybe)
4) Copy the contents of the extracted .tar.gz contents into a new folder named "c:\program files\java\jre1.8.0_51" (or rename the directory)
So basically using the install directory for 51, but adding the latest Java files into the folder that the installation is pointing at.
Quick fix, for now, just to help anybody in a pinch. I'll update as I continue to sort it out and if there's any new information.
Good luck!

Unable to install Java on Windows 10 (1603 Error)

I tried to download Java on my laptop (which has windows 10) but i keep getting a 1603 error. My computer used to have windows 8.1 and it did not work back then either
I appreciate any advice to solve or work around this problem
I have had this problem. I was able to fix it thanks to a co-worker. The problem started happening after I installed HP Unified Functional Testing (UFT, aka QTP). Installing this product changes the Windows environment variables used by Java. He told me the following: "So change the names of JAVA_OPTIONS, IBM_JAVA_OPTIONS, JAVA_TOOL_OPTIONS to something else (both in system and user variables) and delete any Java folder(in Program Files (x86) or Program Files) which gets installed despite the error. Restart the system and then try installing Java."
Actually, all I did was rename the environment variables and run the installer. This worked.
My answer is not related to win 10, but might help someone who is having similar problem in windows 7 machine and not able to install jre 32 bit version.
the work around to this is once you downloaded the jre, copy the path "C:\Program Files (x86)\Java\jre1.8.0_121\bin\javaw.exe" and paste it under java runtime environment settings which is found -Java Control panel>java>view
I think you downloaded the wrong version. If your laptop support x64 bit software you should download Java 1.8 x64 version.
Here is the link.
https://www.java.com/en/download/manual.jsp
I had this problem for a month now. I tried everything on my windows 8, but I couldn't get the latest java on it. When I tried to install java on an empty computer, the 64 bit version did not go through (error 1603) and I realized the problem didn't come from an old java install and I install 32 bit. it worked on the new computer with windows 7 and on my computer running 8.1.
note: I had deleted all the java versions before going through with it.
To fix java 1603 error you have to follow few simple steps.
First of all remove all old java version.
Then remove some windows update file which might be reason of this
error. Like KB2918614 update.
After that download and Install latest version of java and activate
java in browser. Now everything will be fine you can test the java
version on java website...
For explained and easy solution to java 1603 error follow this link: http://protechguides.com/java-error-code-1603-solved/
I encountered this error on Windows 8.1 and when I checked with Oracle web site, they said that is is not yet resolved, and under investigation. They also showed a link for off-line installation as an alternative arrangement. However, upon investigation of my system, i found out that the available space in C drive was only about 20 MB or so. I cleared my system and provided enough space. When I tried with the extra space, I didn't encounter any error. May be, you could try with a better free space...
First you should close the browser because if any webpage will use Java, it will cause conflict. Then do custom installation, i.e. install in some other folder other than default folder and point environment variable to newly installed Java location. It will resolve your issue.

Installing Java on a Flash Drive

I'm really tired of computers not having the necessary Java version I need, or I don't have admin privileges to install it. I've seen tons of windows tutorials, but I'm on a Mac. So can someone tell me how to put Java 7/8 on a flash drive, and how to create a script to run a jar file with the version on my drive I have selected? Thanks! I'm on Mac OS X 10.10
Based on your comment to another answer
I have a computer I can do it on with admin privileges
It sounds like you just want to have the JVM/JDK on some portable media that you can run from after you plug it into another computer. This should be simple assuming you only plan on using it on comparable systems. For example, you won't reliably (or at all) be able to install Mac x64 java binaries on a flash drive and try to run it on a Windows machine.
So assuming you only intend to run it on comparable machines, it's as simple as copying the directory structure from the root of the Java install directory. On my Mac OsX 10.9.5 it's /Library/Java/Home. Once you have it on the drive, you just plug it into another Mac. It should automount and you open up a terminal to the root of that mount. cd into the $JAVACOPY/bin (where $JAVACOPY is the directory structure you copied) and you can run ./java -version to verify you are running it.
If all is well after doing that, you can launch any JAR file from that flash drive mount directory with
cd /Volumes/flashMount/Java/Home/;
./bin/java -jar /Users/myuserid/myJar.jar
Keep in mind that Java doesn't strictly require any of the formal install process that systems like Mac and Windows surround it with. All of the fluff involved with "installing" java is about setting up the system to use whichever Java version is installed without the user having to know or care. But you can have as many versions of java as you want in the file system without "installing" them and they should all function just fine (ignoring classpath collisions for certain libraries.)

Developing Java desktop applications on Microsoft Surface Pro/Pro 2

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.

Categories

Resources