Bug 539544 - Java Problem: Syntax error on token "module", interface expected
Summary: Java Problem: Syntax error on token "module", interface expected
Status: UNCONFIRMED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.9   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-09-27 03:09 EDT by Ronda Wilson CLA
Modified: 2019-01-25 03:40 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronda Wilson CLA 2018-09-27 03:09:09 EDT
Resource: CoreTech/src/module-info.java
Location: line 8
Comment 1 Alois Zoitl CLA 2018-09-27 04:29:37 EDT
Is this a JDT issue?
Comment 2 Stephan Herrmann CLA 2018-09-27 05:19:48 EDT
(In reply to Alois Zoitl from comment #1)
> Is this a JDT issue?

With only the information given in comment 0 this isn't an actionable issue at all.

Please provide at least:
- Version of Eclipse used, specifically version of bundle org.eclipse.jdt.core
- Project settings, in particular compliance related
Comment 3 Ryan Moffatt CLA 2019-01-24 17:05:03 EST
Received this compile time error as well - Resolved by fixing the modulepath's JRE System to use Execution environment[JavaSE-11] instead of "workspace default JRE." Hope that helps someone.

---------------
Eclipse Version: 2018-12 (4.10.0)
Build id: 20181214-0600

I could provide more explicit details but a ticket wasn't filled, so I'll leave it at that.