简体   繁体   中英

Correct way to install JML

I tried to install Java modeling language (JML) and something got wrong. I use Eclipse IDE, windows 10. I opened Eclipse -> Help -> Install New Software and then I installed using this

Then, I restarted Eclipse and the new icons appeared in the top menu bar. When I try to compile or to use JML icons Eclipse shown a huge error message. ( img )

What can I do to fix this? I didn't find a solution on website

I am not allow to use the comment function.

Here are my remarks:

  1. First, it seems that OpenJML is installed correctly.
  2. If the stacktrace belongs to the OpenJML run, it is clearly a case for the issue tracker. The corresponding line handles the import multiple packages. Maybe you could try with an example to from the OpenJML repository to verify, that the problem occurs with your Java file only. You could also try openjml on the command line. It behaves like javac with extra options.
  3. A minor detail: Something seems odd with the OpenJML versioning. Current version is 0.8.49 (after github releases) from 2020-09-25. Your version 0.8.48, but from the same date.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM