Thursday, December 8, 2011

Netbeans installation in Windows 7

                                                       Personally I faced a problem while installing netbeans for the first time in my windows 7 os.But at the same time there were no issues while installing it from my workplace which was also on windows 7. I don't know why that happened anyway I wanted to share the solution to all.
                                                      First case is when you have your environment variable set correctly and even after restarting the system you get an error message while tryng to install netbeans which says jdk not installed .It also suggests to use the --javahome command ,so here it is

  • Start the command prompt and set the path to where your netbeans.exe file exists(Copy it to any of your drives if it is on cd).It may look like D:\Aparna\Softwares>netbeans-7.0.1-ml-windows.exe after this add a 'space' and type --javahome 'space' your path to jdk bin.

D:\Aparna\Softwares>netbeans-7.0.1-ml-windows.exe --javahome "C:\ProgramFiles\Java\                        jdk1.7.0_01\bin"
  • Press enter and your netbeans will start installation.

                                                      The second way as everybody is familiar with is by setting environment variable for java(This didnt work for me in first case ).There are many available resources in the internet explaining how to do it especially the .Anyway here is it in my words...

  • Right click on MyComputer and  select Properties->Advanced System settings.From the bottom right corner select Environment Variables.
  • Under system variables select variable with name path and select edit if its existing else create a new variable named path .In variable value paste your path to jdk bin 
  • C:\Program Files\Java\jdk1.7.0_01\bin;.    (Dont forget the ;. at the end)



Naviya Nair said...

I have read your blog its very attractive and impressive. I like it your blog.

Java Online Training Java EE Online Training Java EE Online Training Java 8 online training Core Java 8 online training

Java Online Training from India Java Online Training from India Core Java Training Online Core Java Training Online Java Training InstitutesJava Training Institutes

pooja said...

I am really impressed with your efforts and really pleased to visit this post.
Best Devops Training in pune
Microsoft azure training in Bangalore
Power bi training in Chennai

tamilsasi said...

I was recommended this web site by means of my cousin.
I am now not certain whether this post is written through him as nobody else recognise such precise about my difficulty. You're amazing! Thank you!

selenium training in Chennai
selenium training in Tambaram
selenium training in Velachery
selenium training in Omr
selenium training in Annanagar

cathryn leno said...

I was looking for this certain information for a long time. Thank you and good luck.
python training in chennai
Python Online training in usa
python course institute in chennai