-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run JabRef from Source #6685
Comments
Hm, that looks like some intellij stuff. Does a ./gradlew run on the command line in the folder work? |
Hello @Siedlerchr, With the gradlew run command everything worked. Is there a fix so I can run it with Intellij? Thank you very much. Greetings from Switzerland |
Another use recently had the same issue, maybe this screenshot help : #6678 (comment) |
What does |
@koppor I did run |
This is Oracle JDK, isn't it? Quick fix: Change the runner to Gradle in IntelliJ. Other fix: Install LibericaJDKFull (the "full" is important! - choco install libericajdk-full). This is what Christoph meant in #6685 (comment). |
@koppor I used the Oracle Open JDK 14 with JavaFx installed via Jmods. I'll try to change the runner to Gradle. Greetings |
So I found a fix to my little problem. So if someone also has these problems follow the following steps: First make sure that everything is set up according to the documentation: https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace. After that create a new Gradle run configuration in intellij: After that you should be able to run and debug the application from Intellij. Regards from Switzerland |
Thank you for the update. I can see that you can handle IntellIj settings with ease. May I ask whether you cold spend some time to install LibericaJDKFull alongside the OpenJDK and configure IntelliJ to use it? That way, I would be enabled to claim that following the workspace setup guideline really includes setting up LibericaJDKFull. The other reason I'm asking is that development speed significantly increases in case the built in Java Compiler of IntelliJ is used. Reason: At each test run, that tool chain is invoked. If Gradle is used, the startup time is increased by a few seconds. This adds up. See also cococomo turnaround time. I would like to avoid that 😅 |
@koppor Yes I can give it a try this evening and give some feedback how it worked out. |
Also the Console View should have a more detailed output of what actually went wrong (the screenshot above doesn't include any information about the error). |
@DaniloMurer any news on this? |
Somehow refs #6378 |
Hello together, Sorry if im answering this late but I was on a longer vacation so I hadn't the time to look at this closer. Today Im trying with LibericaJDK to see if this works out better. Regards |
Hello together, I stumbled across a new problem, in this one the class "EasyBind" misses the method "listBind()". I don't know were this problem came from, I tested it on the master. Regards |
@DaniloMurer Please try again. First mege the latest upstream/master and then rerun gradlew run to process the updated dependencies |
Any updates here? |
Does the update at #6794 help? |
We think the issue is solved. If not, please comment. |
Hello together,
I wanted to run JabRef from source following the documentation: https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace.
Everything builds correctly with gradle except that if I'm trying to run it, I get an error.
The error looks like following:
I've no clue why this happens, does anyone have similar issues?
Thanks in advance!
The text was updated successfully, but these errors were encountered: