Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to compile patched modules on JDK 9+ by passing the --patch-module option to my project compiler
How to compile patched modules on JDK 9+ by passing the --patch-module option to my project compiler [message #1810126] Wed, 31 July 2019 20:30 Go to next message
Eduardo Bravo is currently offline Eduardo BravoFriend
Messages: 1
Registered: July 2019
Junior Member
I think Eclipse has to allow that, since javac from JDK allows it. Please see the attached screenshot of my eclipse.


Re: How to compile patched modules on JDK 9+ by passing the --patch-module option to my project comp [message #1810495 is a reply to message #1810126] Mon, 12 August 2019 17:43 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
What is the command line invocation of javac that allows this?
What have you tried to set similar options in Eclipse? (Which Eclipse version?)

Note that your folder configuration is not a legal Java project in Eclipse. The source folder must directly contain package folders, not a module folder like "java.base". In Eclipse it's the project that represents a module (and we have every freedom to define it like this).

Previous Topic:Targetting a binary method
Next Topic:Java12
Goto Forum:
  


Current Time: Fri Jan 03 07:19:54 GMT 2025

Powered by FUDForum. Page generated in 0.08361 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top