GitHub - webview/webview_java: A Java wrapper of https://github.com/webview/webview
Repository navigation
webview_javaPublic
About
A Java wrapper of https://github.com/webview/webview
Resources
Readme License Activity Custom propertiesStars
112 starsWatchers
6 watchingForks
23 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
116 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| _formatter | _formatter | ||
| bridge | bridge | ||
| core | core | ||
| examples | examples | ||
| ui-server | ui-server | ||
| .gitattributes | .gitattributes | ||
| .gitignore | .gitignore | ||
| LICENSE.md | LICENSE.md | ||
| README.md | README.md | ||
| demo.png | demo.png | ||
| pom.xml | pom.xml | ||
Repository files navigation
Webview
The Java port of the webview project . It uses JNA and auto-extracts the required dll/dylib/so libraries for your current system.
Examples
Supported Platforms
| x86, x86_64 | |
| aarch64, x86_64 | |
| x86, x86_64, arm, aarch64 |
Linux
Both MUSL and GLibC are supported out of the box. So it should work fine under distros like Debian, Arch, and Alpine.
macOS
macOS requires that all UI code be executed from the first thread, which means you will need to launch Java with -XstartOnFirstThread. This also means that the Webview AWT helper will NOT work at all.
Getting the code
Replace _VERSION with the latest version or commit in this repo. If you want the Bridge bindings you'll need both core and bridge.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.webview.webview_java</groupId>
<artifactId>core</artifactId>
<version>_VERSION</version>
</dependency>
Gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.webview.webview_java:core:_VERSION'
}
SBT
resolvers += "jitpack" at "https://jitpack.io" libraryDependencies += "com.github.webview.webview_java" % "core" % "\_VERSION"Leiningen
:repositories [["jitpack" "https://jitpack.io"]]
:dependencies [[com.github.webview.webview_java/core "_VERSION"]]
About
A Java wrapper of https://github.com/webview/webview