FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

[Error] Cannot find Java 1.5 or higher

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
bln102



Joined: 13 Aug 2009
Posts: 3

PostPosted: Thu Aug 13, 2009 4:11 am    Post subject: [Error] Cannot find Java 1.5 or higher Reply with quote

I can't run netbeans.exe.

Windows Vista 64 bit, Java JDK 6_15

Thanks.



netbeans_error_64bit.jpg
 Description:
 Filesize:  42.01 KB
 Viewed:  777 Time(s)

netbeans_error_64bit.jpg


Back to top
View user's profile Send private message
Jiri Prox
Posted via mailing list.





PostPosted: Thu Aug 13, 2009 9:05 am    Post subject: [Error] Cannot find Java 1.5 or higher Reply with quote

Hi,

maybe there is set invalid path to JDK in your netbeans.conf, please
check this file (it is located in netbeans install dir in subfolder etc)
and correct it if needed. Alternatively you can use --jdkhome switch to
specify jdk which should be used.

Hope it helps
Jirka


bln102 wrote:
Quote:
I can't run netbeans.exe.



Thanks.




Attachments:
http://forums.netbeans.org//files/netbeans_error_64bit_656.jpg

Back to top
bln102



Joined: 13 Aug 2009
Posts: 3

PostPosted: Thu Aug 13, 2009 9:56 am    Post subject: Reply with quote

Eclipse error, too Crying or Very sad
Back to top
View user's profile Send private message
bln102



Joined: 13 Aug 2009
Posts: 3

PostPosted: Fri Aug 14, 2009 12:33 am    Post subject: Reply with quote

Eclipse cannot start Sad It seems Java Environment problem.


eclipse_error1.jpg
 Description:
 Filesize:  44.08 KB
 Viewed:  752 Time(s)

eclipse_error1.jpg


Back to top
View user's profile Send private message
bartprokop



Joined: 30 Aug 2009
Posts: 1

PostPosted: Sun Aug 30, 2009 6:52 am    Post subject: Reply with quote

It works for me after such a invocation:

"C:\Program Files\Java\netbeans\netbeans-6.7.1-200907230233-ml\bin\netbeans.exe" --jdkhome "C:\Program Files\Java\jdk1.6.0_16"

Remeber NOT to put backshlash after end of jdkhome do DO NOT: "...\Java\jdk1.6.0_16\"

Tested on Windows 2008 R2 Server and Java 64-bit (my test bed)

--
Bart Prokop http://bart.prokop.name/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB