Eclipse Quick Start¶
Use this guide for Eclipse or Spring Tools teams that need project scans, problem markers, report history, comparison, and source navigation.
1. Confirm the deployment requirements¶
Have the Eclipse plugin artifact and an issued postq.lic available. This deployment requires
Eclipse or Spring Tools, Java, OpenGrep, and a supported embedded browser runtime.
2. Install prerequisites¶
Use your organization's approved software distribution process, or install from the publisher resources:
- Eclipse downloads
- Spring Tools
- Eclipse Temurin installation
- OpenGrep installation
- Microsoft Edge WebView2
Then run the supplied pre-install check:
.\postq-code-scanner-preinstall-check.ps1 -Profile eclipse
If PowerShell blocks the script, see PowerShell blocks the prerequisite checker.
bash ./postq-code-scanner-preinstall-check.sh --profile eclipse
On Windows, ensure the Eclipse SWT Browser can use a current Microsoft Edge WebView2 runtime.
If OpenGrep download is blocked by Microsoft Edge, SmartScreen, or Windows Defender, see OpenGrep download is blocked by Microsoft Edge, SmartScreen, or Defender.
For platform notes and supported versions, see Prerequisites.
3. Install the plugin¶
- Open Help > Install New Software....
- Choose Add... > Archive... and select
postq-code-scanner-eclipse-plugin-<version>.zip. - Select PostQ Code Scanner, accept the applicable terms, finish the installation, and restart Eclipse when prompted.
For an enterprise dropins deployment, extract the ZIP and copy dropins/postq-code-scanner into
the target Eclipse installation's dropins directory before restarting Eclipse.
Open the PostQ perspective:
Window > Perspective > Open Perspective > Other > PostQ Code Scanner
4. Configure activation¶
Open:
Window > Preferences > PostQ Code Scanner
Set Offline license file to the full path of postq.lic. Set the PostQ scanner, Java, or
OpenGrep executable path only when system discovery does not resolve correctly for the Eclipse
process. Open the Configuration view and confirm that the license, Java 11+, and OpenGrep rows are green.
5. Scan a project¶
- Download and extract the Java Quick Start project, or choose a representative repository.
- Use File > Open Projects from File System to import the extracted
postq-java-quickstartdirectory. - Select the project in Project Explorer or Package Explorer.
- Open PostQ Code Scan from the context menu.
- Select Scan Project.
- Monitor the PostQ console until the scan completes.
6. Review the result¶
- Expand the project in the Reports view.
- Double-click the newest completed scan.
- Review the PostQ Code Scan Report.
- Inspect Crypto Functions and Operation Groups for the inventory, then Assessment for security findings and quantum exposure.
- Open a report row to navigate to source when available.
Success checklist¶
- The PostQ console reports successful generation.
- A completed scan appears in the Reports view.
- The report opens in the embedded browser.
- Problem markers and source links identify the affected code.
Next: Eclipse usage.