-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Could not load JRE from The bundle “Java SE 8” #3587
Comments
Thats quite odd, and it does not happen on my system, which admittedly is still on Java 1.8.0_144. Maybe there is a problem with newer Java versions? |
Thanks for the prompt reply. I can confirm that the error occurs with Java 1.8.0_144. I actually upgraded from 144 to 152, to see whether that can fix the issue. But it still exists. |
Okay, can you try compiling jabref from the sources? That would be:
If this works, there's a problem with your Java environment. If it doesn't, it will probably exactly tell you what the problem of your Java environment is. (; |
You may also try to run JabRef from the terminal using |
Thank you both for the help. I tried compiling from sources and also running JabRef from the terminal. Both worked. I then reinstalled using the mac dmg file and now it's working. Does it have something to do with my Java environment? Thanks again for the prompt help. |
Hi, Any help would be greatly appreciated. |
@bsecon To the best of my knowledge, Java 9 is still not supported. Please try with Java 1.8.0_152. |
Same happened to me, including failure to build: Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory(). Do you not have an archive that would allow me to use JabRef again? |
I had the same problem as @sentian (and confirmed my version of Java, reinstalled the JRE and JDK, restarted, etc). Compiling from source worked to run the application, as did running the standalone JabRef.jar download from the terminal. However, when I do either of those, the application runs incredibly slowly, freezing up (spinning rainbow wheel) for about 10 seconds whenever I click on anything, and CPU usage jumping to 40%. I'm on OS X Sierra, and did double-check that the localhost issue referenced in the installation documentation is fixed (it is). Any ideas where this lag would be coming from / why I can't start the app up normally?
|
I googled a bit around and the only thing I find is this: |
I created a version of the current dev version which explicit uses 144 for mac: |
Thanks for putting that together @Siedlerchr . I tried the dmg, but got the same results: |
@nathanielolin I cannot confirm this. I compiled from the current source yesterday with java 1.8.0_144 and I'm on High Sierra on my work Mac too. I don't know the exact version now. If you indeed use the java version you reported and you ran |
Sounds to me like an install4j problem... |
This would be my second idea, because we updated the install4j version, too |
@halirutan perhaps moot at this point but I'm running Sierra, not High Sierra. Not sure if that matters. |
@nathanielolin Could you please try again with that version here?`https://builds.jabref.org/install4jmacjavaversion/ |
Thanks @Siedlerchr , I appreciate the continued help. Unfortunately, I now get the same error message @radeksimik is getting: |
Damn, okay, as I don't own a Mac I have no further ideas what the problem could be |
@Siedlerchr |
@nathanielolin & @Siedlerchr Thanks guys, this combination works for me too (although necessarily in that order: first Java downgrade, then JabRef update). So relieving to see my JabRef up and running again. |
Okay, this is good to know. Then I think we can conclude that this is an install4j bug in the current version |
@Siedlerchr Well, I should add that I haven't tried 4.1 in combination with the downgraded Java version. If it works, then there might also be an incompatibility with current Java, rather than just a bug in install4j. Here's the system info: |
@Siedlerchr @radeksimik 4.1. did not work for me after downgrading Java, so the install4j explanation appears to make sense. |
@bsecon Ok cool, although there clearly also an issue with current Java (or the way the 4.2-beta JabRef interacts with it). |
This launches on my macOS Sierra version 10.12.6 (16G1114) and I have Java updated to version 8 build 151 but the dmg fails to launch jabref after install |
$ echo $PATH |
OK, no mystical Java entry there either. In any case, the only reliable way on Mac OS seems to be to ship the JRE with the application. Then, JabRef should always use the JRE we provide without trying to find it on the users' machine. One last question. Does it work now if you start JabRef from the commandline with
and if yes, I would be interested in the log as well. I want to see if it uses the 161 version now. If it doesn't work, would you be so kind to restart your computer and try again? |
Here it is ... I upgraded to 9.0.4 so hopefully that hasn't made all the difference or messed up your diagnoses. |
@aniruhil Nice. Now it looks OK although you installed the wrong JRE 😄 because you used version 9, which is not supported. But what happens now is that the launcher sees the invalid version 9 and tries the other locations. In the end, it uses your 1.8.0_161 JDK that you have installed during the many trials |
:) my apologies but all I can say is thanks for your hard work. I am finally at peace now that all is well with my JabRef world! |
I can confirm that running the latest release *.jar works right away, but a regular installation with a dmg file requires uninstalling JabRef and then reinstalling the *.dmg. TLDR: Uninstall JabRef then reinstall latest dmg |
I just received a message from Install4J support that I posted in the chat. Their suggestions would indeed explain the weird behavior we saw. I would really like to verify this. Therefore, if someone still has this issue and installed JabRef under
|
Caveat: JabRef works for me but curiously enough I get $ ls -R /Applications/JabRef.app/Contents/PlugIns/ I then manually checked package contents and under Contents I only have /java So no PlugIns folder at all! |
I get the same message as @aniruhil when executing the command. |
@aniruhil Yes, and if JabRef works now, it is correct that you don't have this directory. I believe the following happened:
What I would like to know is, if either you @aniruhil or you @martinweiss would first completely delete the old JabRef and then just grab the latest dmg from the master branch, does it work as well? You can install JabRef in a whole different directory, without deleting the old one. That should work too |
I just did, @halirutan, and it installed and launched as expected |
Can we close this or do we have to act in some way, still? |
@stefan-kolb Yes. In the end, we could clearly identify what went wrong. It's summarized in my previous comment. |
Having the same problem now. Should have continued ignoring the update request ;-( LOL. Anyway. Realising it isn't your fault. I'll go through what I had and did. (Sorry, I didn't note which version of Java I was using before build 161 - but it was a Java 7 (scary 8-{ mistake there I know). Sequence today at 31 March 2018:
|
Hi all. Question: Correct me if I am wrong, but; the jar version I have working "JabRef--master--latest.jar", isn't a full release? I ask this because quitting and opening doesn't give me the JabRef icon for the dock, and "Java" is displayed in the Main title bar at top no screen. Any thoughts on when the problem will be fixed? I don't mind - the software is working, that's what matters. |
@Dapscoptyltd Quick questions like this can additionally be asked in our Gitter chat. You are correct, the |
Thanks for both suggestions and notes.
Regards;
Warren Lewington
Dapsco Pty Ltd
www.dapsco.com.au
PO Box 9117
Harris Park, NSW,
Australia; 2150
From: Patrick Scheibe <[email protected]>
Reply-To: JabRef/jabref
<reply+012fb4a7172ad02f34855d59b78984522e357862dab3448692cf0000000116d86d059
[email protected]>
Date: Sunday, 1 April 2018 at 19:48
To: JabRef/jabref <[email protected]>
Cc: Warren Lewington <[email protected]>, Mention
<[email protected]>
Subject: Re: [JabRef/jabref] Could not load JRE from The bundle ³Java SE 8²
(#3587)
@Dapscoptyltd <https://github.com/Dapscoptyltd> Quick questions like this
can additionally be asked in our Gitter chat
<https://gitter.im/JabRef/jabref> . You are correct, the .jar is just the
java package and not a complete application. We are currently taking steps
to get the application signing working again so that installing the dmg
get's easier.
�
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3587 (comment)> , or
mute the thread
<https://github.com/notifications/unsubscribe-auth/AS-0p91wi_N7vrsDUauf5OvOU
3V_G7CMks5tkKKFgaJpZM4ROu7y> .
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4b
b","name":"GitHub"},"entity":{"external_key":"github/JabRef/jabref","title":
"JabRef/jabref","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143
418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"h
ttps://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6
-9aed-b52498112777.png","action":{"name":"Open in
GitHub","url":"https://github.com/JabRef/jabref"}},"updates":{"snippets":[{"
icon":"PERSON","message":"@halirutan in #3587: @Dapscoptyltd Quick questions
like this can additionally be asked in our [Gitter
chat](https://gitter.im/JabRef/jabref). You are correct, the `.jar` is just
the java package and not a complete application. We are currently taking
steps to get the *application signing* working again so that installing the
`dmg` get's easier."}],"action":{"name":"View
Issue","url":"#3587 (comment)
75509"}}}
|
I just installed the new 4.2 release, and the problem persists on the latest Mac Sierra 10.13.4 (17E199), Java (build 1.8.0_171-b11). I suspect that the problem must be in some settings that are kept from the previous version - the installer says that it removes the previous JabRef version, but apparently it is doing something else, because removing JabRef by hand and re-installing it fixes the problem (please disregard my comments if you have already discussed this here, I just skimmed the comments, it's a lot of text. Just wanted to let you know there's still a problem). |
I had the same problem of florianharting: and after uninstalling the older version of JabRef and installing the new one, it works perfectly. |
@koppor @tobiasdiez @Siedlerchr Question: Did anyone of you take care to update the Install4J script to remove the old JabRef application completely before it is installed over the same location? |
Yes. U can check at the XML in the root of the repo. Plz message on Skype
so I can send u the Install4J key to enable improvements there.
Patrick Scheibe <[email protected]> schrieb am Mo., 30. Apr. 2018,
04:09:
… @koppor <https://github.com/koppor> @tobiasdiez
<https://github.com/tobiasdiez> @Siedlerchr
<https://github.com/Siedlerchr> Question: Did anyone of you take care to
update the Install4J script to remove the old JabRef application completely
before it is installed over the same location?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3587 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABTaflrmFsaLEeV8oI7_VAnnT38IMUMMks5ttnJcgaJpZM4ROu7y>
.
|
Ran into the same issue when updating from JabRef 4.1 to 4.2 in High Sierra 10.13.2. Problem persists when latest version of JRE was installed. Solved the issue mainly by deleting the whole JabRef.app in /Applications/ directory. The latest installation app claimed it was uninstalling the original app but it did not change the configuration file. |
Confirming the issue on 4.2 running on High Sierra 10.13.4; For those who want to upgrade JabRef from the previous version, please delete the older one in /Applications and then reinstall the newer version. |
Confirming the same behavior on macOS High Sierra. Fix was to delete the original JabRef from /Applications and do a fresh install. |
HI all. Just a note to developers. I installed the last version you deployed and on my Mac, with High Sierra 10.13 installed, JabRef is working okay at present. MANY MANY THANKS. Talk soon. |
I'm using MAC. When I update JabRef from 4.0 to 4.1, I get the following error when I try to open the application. I tried to reinstall the 4.0 version and even tried the 4.2 developer version. No luck. I also tried to update my Java from 1.8.0_151 to 1.8.0_152, and the problem is still not resolved. I would appreciate any help since I use JabRef everyday. Thanks.
Error message: An internal error occurred (error code: Could not load JRE from The bundle “Java SE 8” couldn’t be loaded because its executable couldn’t be located..)
JabRef version: 4.0 and 4.1, on macOS High Sierra 10.13.2
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
The text was updated successfully, but these errors were encountered: