question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin doesn't work on Windows with IntelliJ 2016.1.1?

See original GitHub issue

When running it seems like it tries to access an invalid path for its lock.

ERROR: org.openjdk.jmh.runner.RunnerException: ERROR: Exception while trying to acquire the JMH lock (C:\Windows\/jmh.lock): Access is denied, exiting. Use -Djmh.ignoreLock=true to forcefully continue.
    at org.openjdk.jmh.runner.Runner.run(Runner.java:213)
    at org.openjdk.jmh.Main.main(Main.java:71)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
knittlcommented, Feb 25, 2020

Or, alternatively, check the checkbox to include system defined environment variables in the environment variables dialog (opened via the “page icon” on the right side of the text box).

Not sure if this could have a negative impact on the benchmarks though …

2reactions
viliam-durinacommented, Apr 13, 2017

java.io.tmpdir on windows is normally c:\Users\userName\AppData\Local\Temp, so the JMH does not use this one. If it did, this directory is writable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ IDEA 2016.1 is Here - The JetBrains Blog
One thing I'd recommend is using the File/Settings/Plugin panel to actually select, upgrade and enable the plugins. I did have some initial ...
Read more >
FileNotFoundException after upgrading my plugin from 2016.1 ...
I tried on two different development environments (Windows and Ubuntu) with the same result. The system path looks incorrect in the error, I ......
Read more >
IntelliJ IDEA 2016.1.1 Update is Out - The JetBrains Blog
My Pycharm 2016.1.1 hangs with 100% CPU usage after a few minutes. I haven't identified any triggering event – it occurs when I...
Read more >
IntelliJ IDEA 2016.1 RC is Available along with New Versioning
Yesterday in our company blog we announced the plans to move to a single versioning scheme for all our products under the JetBrains...
Read more >
What's New in IntelliJ IDEA - 2022.3 - JetBrains
Additionally, IntelliJ IDEA Ultimate offers a new way to work with projects in ... The new Settings Sync plugin is now available for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found