Polyspace Eclipse Plugin does not work

조회 수: 3 (최근 30일)
Florian Menke
Florian Menke 2021년 12월 14일
댓글: David Delarue 2022년 2월 8일
I tried to use Polyspace inside Eclipse with the Plugin, but it doesn't work.
After intstallation of the Plugin, opening any file in Eclipse causes this error message to pop up:
"
An error has occurred. See error log for more details.
class com.jidesoft.plaf.LookAndFeelFactory (in unnamed module @0x7effa21e) cannot access class com.sun.java.swing.plaf.windows.WindowsLookAndFeel (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.windows to unnamed module @0x7effa21e
"
I am working with Eclipse 2021-12 (4.22.0), JDK 17.0.1, Matlab R2018b

채택된 답변

David Delarue
David Delarue 2021년 12월 15일
The plugin does not support Java 17. An error dialog will guide you in the most recent Polyspace plugin version.
To use a supported Java version:
1. Windows: Download OpenJDK 15 from https://jdk.java.net/archive
Linux: Download OpenJDK 12 from https://jdk.java.net/archive
2. In the <eclipse_root>/eclipse.ini file, immediately below the line with the '-vm' option, replace the current path by:
<path_to_downloaded_OpenJDK>/bin
  댓글 수: 4
Husnu umut Okur
Husnu umut Okur 2022년 2월 3일
Thank you for response david,
Actually i have no predefine at my project so i did not define something at macros part. Do i have to show include paths to polyspace ? if yes how ? because as a plugin you can not select include and source files so i don't know how to solve that ?
David Delarue
David Delarue 2022년 2월 8일
Sorry i missed the notification for your post.
If you have defined include paths in your CCS project these paths should be listed under the 'Includes' folder in the Project Explorer view. And these paths should also be automatically shown to Polyspace.
If some include paths are missing you can add them manually to the Polyspace configuration from the 'Polyspace -> Configure Project' menu.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by