Gust

Results 51 comments of Gust

yes, these classes are not full jdk8 api spec.

32位cpu会禁用jit,解释执行

I do not have a mac m1, would you built a glfw-mac-arm.a for me ? If any problem please contact me when build, [email protected]

I've commited the GLFW library for mac m1 (miniJVM/desktop/glfw_gui/c/deps/lib/mac_arm64/libglfw3.a) ,that file is download from glfw github, and changed the build script , but I can't test the script work for...

thanks for your work , I 've fix the script.

谢谢,有问题可以问我

minijvm 有两种适配android的方式, 第一种,是直接把minijvm作为一个android App, 打包后可以直接运行,这个app自带图形界面,这种只需要用android studio打开 /mobile/androidapp就可以了,这时只需要开发一个继承于org.mini.apploader.GApplication的图形应用,直接在minijvm的图形界面安装你开发的图形应用jar即可.这个应用如果有库,只需要在打包时把jar库放在应用jar文件根下的lib目录中 如果有自己的jar库可以放在 /mobile/assets/resfiles下,需要修改一下/mobile/c/glfmapp/main.c 在 utf8_append_c(classpath, "/resfiles/glfm_gui.jar;/resfiles/yourjarname.jar");分号后加上你自己的jar路径. 另一种是你有自己的app 已经开发了很多别的功能,把这个minijvm作为一个native模块使用(仅使用/minijvm/c里面的代码,使用/minijvm/java作为运行时jar基本库), 编译进你自己的.so中, 你需要写一个简单的jni接口来启动这个minijvm,但是这个作为模块的minijvm,无法使用图形界面, 因为minijvm使用opengl es3.0作为图形界面的基础, 而这个opengles图形界面只能用c语言创建. 一个简单的例子,未经测试. ``` #include "jvm/jvm.h" int calljvm(char *path) { char *bootclasspath =...

ok.let me try.

example : ![1668055397330](https://user-images.githubusercontent.com/19265420/201003966-1c70afeb-8e88-40d0-a121-0bdcd3014512.jpg) ``` package test; import org.mini.apploader.GApplication; import org.mini.gui.*; import org.mini.gui.event.GActionListener; import static org.mini.nanovg.Nanovg.*; /** * @author gust */ public class MyApp1 extends GApplication { GForm form; @Override public...

May you put your code in your github repo? GViewPort is a scalable containner, so you need not add canvas in a viewport, you can add a GPanel instead. this.mCanvas...