Skip to content
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

Failed to launch JVM Error after trying to upgrade Bisq #7132

Open
Joseph922 opened this issue May 31, 2024 · 23 comments
Open

Failed to launch JVM Error after trying to upgrade Bisq #7132

Joseph922 opened this issue May 31, 2024 · 23 comments

Comments

@Joseph922
Copy link

Description

Version

Steps to reproduce

Open Bisq application
->Faild to launch JVM pop up box appears without opening the application.

Expected behaviour

<The bisq application is able to open and my user and backup data are available -->

Actual behaviour

Screen shots May 24'.odt

Device or machine

Additional info

Copy link

boring-cyborg bot commented May 31, 2024

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

@Joseph922
Copy link
Author

Thank you, please let me know if anything else is needed in the issue template to begin review. Thank you for your support.

@HenrikJannsen
Copy link
Collaborator

Do you run the binary or from source code? Which Operating system do you use?

@Joseph922
Copy link
Author

Joseph922 commented Jun 5, 2024 via email

@suddenwhipvapor
Copy link

Are you using Windows 11 by chance? If I remember correctly, I've seen this issue already being reported for that version

@Joseph922
Copy link
Author

Joseph922 commented Jun 5, 2024 via email

@suddenwhipvapor
Copy link

As I suspected, this is but one of the issues that I remember being reported for Windows 11.
I am not directly aware of any sure way to work around this issue, but I can suggest to try these steps:

  1. Run Bisq in compatibility mode (right click on application icon, then it's probably somewhere under Advanced, select windows 10, or XP, play around) and if it doesn't work...
  2. Run bisq with administrative rights, still from under right click - properties menu of the icon, can't remember in which submenu but you are bound to find it, and if not even this works...
  3. install a linux image, preferably debian, under VirtualBox, and install and run bisq from there, this is the hardcore way, but I expect it to work 100%, so you can even clone and build from source, and maybe who knows, you get to like linux and get rid of windows for good 😉

@Joseph922
Copy link
Author

Joseph922 commented Jun 5, 2024 via email

@suddenwhipvapor
Copy link

linux is scary just on paper, believe me, because once you get used to the interface you will learn how much better it is than windows.
The most common interface, afaik, is Gnome, and with that running, the underlying system is less important. Ubuntu is a derivative of Debian, like PopOs, so you could choose whichever one. I personally prefer Debian myself.
In any case, the data directory is 100% portable, you can keep it on windows the whole time, and when you have finally installed bisq on the virtual machine, you can use virtualbox tools to copy the data directory contents from C:\Users\Yourname\AppData\Roaming\Bisq to /home/youruser/.local/share/Bisq, and when you start bisq again you will see the same data you had on windows

@Joseph922
Copy link
Author

Joseph922 commented Jun 7, 2024 via email

@suddenwhipvapor
Copy link

That's great! Installing bisq on linux requires you to wget the installer .deb file and then run it with sudo apt install ./....deb

@Joseph922
Copy link
Author

Joseph922 commented Jun 8, 2024 via email

@Joseph922
Copy link
Author

Joseph922 commented Jun 9, 2024 via email

@suddenwhipvapor
Copy link

This is the general outline you should follow:

  • from https://bisq.network/downloads/ get the .deb and its PGP signature, and from the end of the list the PGP public key (to get some training with the linux commandline, open a terminal in Debian, immediately run cd /tmp and then copy to clipboard the urls of each file, and for all of them do wget <url> (you paste in terminal with Ctrl-Shit-V if I'm not wrong, or right click on the background and select paste)
  • do gpg --import E222AA02.asc from the terminal (gpg should already be installed, but if it isn't, before then do sudo apt install gpg)
  • do gpg --digest-algo SHA256 --verify Bisq-64bit-1.9.15.deb.asc (that should be the name of the PGP signature file you downloaded)
  • if it says "Good signature" at the end, you can do sudo apt install ./Bisq-64bit-1.9.15.deb

After this you should have bisq installed and ready to be run.
When it's time to update, you can do the same exact thing as above, the new version will install over the old one without issues.

@Joseph922
Copy link
Author

Joseph922 commented Jun 10, 2024 via email

@suddenwhipvapor
Copy link

suddenwhipvapor commented Jun 11, 2024

you have to be located in the same folder where those files reside, in order to run the above commands, so instead of cd /tmp you will need to do cd /path/to/download/ in the example above

@Joseph922
Copy link
Author

Joseph922 commented Jun 11, 2024 via email

@suddenwhipvapor
Copy link

See this link: https://bisq.wiki/Data_directory#Default_locations
Those are the default locations for data directory in the different OSes. So you copy the contents of the data directory in Windows, over the location of the data directory in linux, and then start bisq

@Joseph922
Copy link
Author

Joseph922 commented Jun 19, 2024 via email

@suddenwhipvapor
Copy link

You can copy all files in one go. Usually with VMs there is also a share feature where you can have the guest OS access a mounted folder from the Host OS so you can pass files both ways.
In any case, yes, do copy the btc_mainnet folder over, or much simpler, just copy the parent folder of the data directory, Bisq, to the place where it should be in the Guest

@Joseph922
Copy link
Author

Joseph922 commented Jun 21, 2024 via email

@suddenwhipvapor
Copy link

Great! Thank you for the dedication you showed into wanting to get back onto Bisq :-) As a complete linux newbie as you said you were, it must have took quite some work.

Regarding the update, you do just like you already did with 1..9.15, follow the exact same steps in downloading files, verifying and installing

@suddenwhipvapor
Copy link

Oh, by the way, regarding the VM speed issue, you can usually increase it by increasing the CPU cores it can use, and the ram. but you will conversely decrease those still available for the host OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants