NetBeans Forums

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

NetBeans application won't use the latest version of Java on the machine

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Todd Stevenson
Posted via mailing list.





PostPosted: Mon Feb 13, 2017 6:13 pm    Post subject: NetBeans application won't use the latest version of Java on the machine Reply with quote

Recently I upgraded a NetBeans application I have written to use Java 1.8. I changed the module configurations to require Java 1.8 and everything works great on my test installation. When our customers update the NBMs from our update site, it won’t install them because the NetBeans application on the customer site is using Java 1.7 and the NBMs require 1.8.

I changed the ‘jdkhome’ property in the .conf file on the customer installation to point to the Java 1.8 folder on the client site, but it still does not work.

In trying to debug this problem I enabled the console log using “-J-Dnetbeans.logger.console=true” inside the .conf file in the etc folder on the installation site.

The client app log shows that the jdkhome is still pointing to the Java 1.7 installed on the machine.

It appears the application is overriding the jdkhome property in the .conf file with some other property but I can’t see any documentation of where that could be.

This is a Windows 7.0 installation.

Any ideas?

Todd Stevenson
Senior Software Engineer
Data Semantics and Clinical Modeling
Data and Analytics Services (DaAS)
Intermountain Healthcare
3930 Parkway Blvd |Salt Lake City, UT 84120
Office: 801-442-5112 | Cell: 801-589-1115
address-removed ([email]address-removed[/email])



image002.jpg
 Description:
 Filesize:  2.92 KB
 Viewed:  723 Time(s)

image002.jpg


Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform 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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo