Intelij run configuration not working
See original GitHub issueJabRef version
Other (please describe below)
Operating system
GNU / Linux
Details on version and operating system
Manjaro with GNOME 42.4, Jabref main branch (commit 349c879)
Checked with the latest development build
- I made a backup of my libraries before testing the latest development version.
- I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- Setup local workspace, including Intelij IDE configuration;
- Try running application with
JabRef Main
run config; - Errors stop the application from running.
This behavior seems to manifest in two ways:
- Intelij cannot run because the application’s main entry point has changed from
org.jabref.gui.JabRefMain
toorg.jabref.cli.Launcher
in PR #9217. I’ve been able to run normally by just changing the entry point on the config file (and was not sure if this was going to be reverted, as PR #9257 was still open at the time) - Now, I cannot run even with the entry point change because of a build error on
org.jabref.gui.desktop.os.Windows
. See appendix for error message.
Appendix
…
Log File
/home/james/Documents/Github Repos/Public/jabref/src/main/java/org/jabref/gui/desktop/os/Windows.java:84:9
java: cannot access com.sun.jna.LastErrorException
class file for com.sun.jna.LastErrorException not found
Issue Analytics
- State:
- Created a year ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Run/debug configurations | IntelliJ IDEA Documentation
Learn how to use run configurations to run/debug your code in IntelliJ IDEA with various startup properties.
Read more >All IntelliJ run configurations disappeared - Stack Overflow
You can go to your main project and right click on it, select local history --> show history. Find some point in time...
Read more >Help! Run/Debug are not working at IntelliJ IDEA. : r/Kotlin
Just a quick guess, try going to File-> project structure and make src a source directory. It doesn't look like you have the...
Read more >Run Configurations - IntelliJ with Bazel
Bazel run configurations are different from normal IntelliJ run ... In addition, re-running failed tests is only supported for single-test targets (not ...
Read more >How to share run configurations in IntelliJ IDEA
Just go to Add configuration... (Or Edit Configurations... ) and you should see your stored configs in the list. From there, you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will remove the IntelliJ run config in a PR - it does not run on my machine, too. 😇
The manual start can be triggered at
Launcher.java
:Runs only with Gradle.
Does NOT work with IntellIJ:
I don’t know about a quick fix here…
I worked on refining the guideline. It is currently under review at https://github.com/JabRef/jabref/pull/9355.
You have to configure IntelliJ to use Gradle for Build and running - and “IntelliJ IDEA” for test:
IntelliJ creates the launch configurations. Check out following steps: