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

Deb package ubuntu compiling #89

Open
madjesti309 opened this issue Mar 10, 2022 · 3 comments
Open

Deb package ubuntu compiling #89

madjesti309 opened this issue Mar 10, 2022 · 3 comments

Comments

@madjesti309
Copy link

please help to compile msgviewer autoinstall deb package on ubuntu

@lolo101
Copy link
Owner

lolo101 commented Mar 17, 2022

Hi @madjesti309 !

Could you please be more specific ?

Do you mean you are working on creating a Debian package of MsgViewer ?

@madjesti309
Copy link
Author

hi! @lolo101 deb package is required to autoinstall the program in ubuntu
sorry for my English

@lolo101
Copy link
Owner

lolo101 commented Mar 24, 2022

Hi and sorry for the late answer. I'm being quite busy those days :)

I have no experience in building a deb package. However, I found this nice tutorial
https://blog.knoldus.com/create-a-debian-package-using-dpkg-deb-tool/

Just use

  • msgviewer.jar instead of Jenkins.war
  • openjdk-11-jdk instead of the openjdk-8-jdk dependency.
  • Also MsgViewer is not service so we would not install a /etc/systemd/system service, but rather an executable under /usr/local/bin. That executable would execute /usr/bin/java -jar /opt/msgviewer/msgviewer.jar -mainwin

Is this helpful?

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

No branches or pull requests

2 participants