Izpack JDKPathPanel requires tools.jar making it incompatible with jdk 11

24 views
Skip to first unread message

Deepak Pandey

unread,
Apr 23, 2019, 7:01:30 AM4/23/19
to izpack-dev
In Jdk 11 the tools.jar has been removed. because of that, JDKPathPanel throws "The chosen directory does not contain the required product." error. is there a plan to support Izpack on jdk 11?

Andreas Kuhtz

unread,
Apr 25, 2019, 8:54:13 AM4/25/19
to izpack-dev
Hello,

I looked into the code and tried to build izpack with JDK11. There are some changes in the JDK that require changes in izpack, but regarding your question: How can I detect the JDK installation for JDK > 8 ?

Regards,
Andreas

Deepak Pandey

unread,
Apr 25, 2019, 9:38:43 AM4/25/19
to izpac...@googlegroups.com
I just changed the jdk version in the IDE. Izpack project started giving compilation errors after that.
Why does JdkPathPanel checks for the presence of tools.jar?

Regards,

Deepak Pandey
Senior Software Engineer

Rave Technologies - A Northgate Public Services Company

www.rave-tech.com

Please consider the environment before printing this e-mail



--
You received this message because you are subscribed to the Google Groups "izpack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to izpack-dev+...@googlegroups.com.
To post to this group, send email to izpac...@googlegroups.com.
Visit this group at https://groups.google.com/group/izpack-dev.
For more options, visit https://groups.google.com/d/optout.

This email is sent on behalf of Northgate Public Services (UK) Limited and its associated companies including Rave Technologies (India) Pvt Limited (together "Northgate Public Services") and is strictly confidential and intended solely for the addressee(s). 
If you are not the intended recipient of this email you must: (i) not disclose, copy or distribute its contents to any other person nor use its contents in any way or you may be acting unlawfully;  (ii) contact Northgate Public Services immediately on +44(0)1442 768445 quoting the name of the sender and the addressee then delete it from your system.
Northgate Public Services has taken reasonable precautions to ensure that no viruses are contained in this email, but does not accept any responsibility once this email has been transmitted.  You should scan attachments (if any) for viruses.

Northgate Public Services (UK) Limited, registered in England and Wales under number 00968498 with a registered address of Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 4NW.  Rave Technologies (India) Pvt Limited, registered in India under number 117068 with a registered address of 2nd Floor, Ballard House, Adi Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.

Andreas Kuhtz

unread,
Apr 25, 2019, 9:48:27 AM4/25/19
to izpac...@googlegroups.com
Hello,

I guess that the presence of the tools.jar was the check if the provided directory contains a valid JDK installation. Maybe this could be changed to check for existence of javac in the bin folder to work with JDK9+.

Regards,
Andreas

You received this message because you are subscribed to a topic in the Google Groups "izpack-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/izpack-dev/JZWGPAyJYIo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to izpack-dev+...@googlegroups.com.

Andreas Kuhtz

unread,
Apr 26, 2019, 5:08:59 AM4/26/19
to izpac...@googlegroups.com
Hello,

Just pushed a PR to github with a possible fix.

Regards,
Andreas
Reply all
Reply to author
Forward
0 new messages