Giter Site home page Giter Site logo

lapd-frontend / maven-springboot-electron Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appreciated/maven-springboot-electron

0.0 1.0 0.0 285 KB

Package your Java Web Application with Electron + OpenJDK only using Maven

License: The Unlicense

Java 49.28% HTML 1.84% JavaScript 48.88%

maven-springboot-electron's Introduction

Maven + Springboot + Electron (+ OpenJDK)

This project can be used as a starting point to create your own Springboot application with electron using maven only. It contains all the necessary configuration and some placeholder files to get you started.

This project was inspired a lot by electron-java-app, the difference are:

  • Relies for build purposes purely on maven (ofcourse also Node but indirectly)
  • Includes OpenJDK
  • Electron app uses shipped OpenJDK

How to build

mvn clean install -Pproduction

The artifacts from the electron build will be put into:

  • target\electron\springboot-on-electron-darwin-x64
  • target\electron\springboot-on-electron-win32-x64

When using Mac OS or linux, wine is required to build windows (check the maven build for further informations).

When using Windows, admin privileges are required to build darwin (check the maven build for further informations).

Shipping OpenJDK

Since not all your users have a JVM available via the classpath a OpenJDK 8 will be packed into the electron builds

Documentation

Build

When executing mvn clean install -Pproduction by default the windows (x64) and darwin (x64) will be build. Building the other archs will probably nto cause any build The rest is currently not supported but adding those shouldn't be to hard but some changed will nee to be mad at these places:

Pull requests are welcome

maven-springboot-electron's People

Contributors

appreciated avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.