Skip to content

Intelij run configuration not working #9303

@thiagocferr

Description

@thiagocferr

JabRef 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

  1. Setup local workspace, including Intelij IDE configuration;
  2. Try running application with JabRef Main run config;
  3. Errors stop the application from running.

This behavior seems to manifest in two ways:

  1. Intelij cannot run because the application's main entry point has changed from org.jabref.gui.JabRefMain to org.jabref.cli.Launcher in PR Process CLI arguments before starting gui #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 Revert "Process CLI arguments before starting gui" #9257 was still open at the time)
  2. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions