Javet
Javet copied to clipboard
Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.
Running the following test throws a runtime leakage exception: ```kotlin import androidx.test.ext.junit.runners.AndroidJUnit4 import com.caoccao.javet.interop.V8Host import com.caoccao.javet.interop.V8Runtime import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class LeakTest { @Test fun testRuntime() { val v8Host...
```java JavetLibLoader.setLibLoadingListener(new IJavetLibLoadingListener() { @Override public boolean isSuppressingError(JSRuntimeType jsRuntimeType) { return true; } }); ``` If I add [this example code](https://www.caoccao.com/Javet/reference/resource_management/load_and_unload.html#can-already-loaded-in-another-classloader-be-suppressed) to my project I have to implement the method...
First of all, thank you for taking on the challenge of replacing J2V8. I really like your approach and thoughtfulness! We are excited to consider the migration from J2V8 for...
Node.js v18 will be in LTS from Oct, 2022. Javet v2 will be released accordingly and Javet v1 will be in maintenance. ![image](https://user-images.githubusercontent.com/17514279/182311420-31312a69-2295-4a76-9804-406cd752486d.png)
Is there a way to pre-load a script for later use? Imagine that I have script A and script B, script A never changes but script B is dynamic, is...
https://hub.docker.com/u/sjtucaocao Images in docker hub is not the new version I try to build base.docker but our country can't visit Google any website Could you please upload the new image...
Hello~ I have a library that contains Javet and deploy it to maven's private repository, here is its pom.xml: com.caoccao.javet javet 1.1.5 com.caoccao.javet javet-macos 1.1.0 My question is that when...
If I'm creating custom FileSystem like that and trying to execute script file: ```java FileSystem fs = FileSystems.newFileSystem(zipPath, classLoader); Path scriptPath = fs.getPath("/script.js"); v8Runtime.getExecutor(scriptPath).executeVoid(); ``` Script won't be found Probably...
Execute a script and pause it by setbreakpoint using V8Inspector before (executing script in thread1), when the script is paused, use V8Inspector.sendRequest('Debugger.resume') to resume execution (resume script in thread2), it...
could it be used in arm linux? e.g. respberry pi.