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

fresh clone and met mvn clean install error " java.io.IOException: cannot connect to jrt:/java.base in " #135

Open
NanFeng009 opened this issue Mar 8, 2023 · 4 comments

Comments

@NanFeng009
Copy link

JNAerationTest.test:137 Error : java.io.IOException: cannot connect to jrt:/java.base in :
{TestBridJ.java=import java.nio.;
import org.bridj.
;
import org.bridj.cpp.;
import static org.bridj.Pointer.
;
import static test.TestLibrary.;
import test.
;
public class TestBridJ {
public static void main(String[] args) {
// apple enums name inference.test / BridJ
//#runtime(BridJ)

            _E1 e1 = _E1.E1A;
            _E2 e2 = _E2.E2A;
            E3 e3 = E3.E3A;
            E4 e4 = E4.E4A;

            IntValuedEnum<_E1> v1 = e1;
            IntValuedEnum<_E2> v2 = e2;
            IntValuedEnum<E3> v3 = e3;
            IntValuedEnum<E4> v4 = e4;
            int i5 = E5A;
    }

}}

Tests run: 257, Failures: 123, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Anarres JCPP (with JNAerator modifications) 1.2.10-SNAPSHOT SUCCESS [ 3.040 s]
[INFO] JNAerator Parent Project 0.13-SNAPSHOT ............. SUCCESS [ 0.170 s]
[INFO] OChafik's General Utilities 0.13-SNAPSHOT .......... SUCCESS [ 0.678 s]
[INFO] OChafik's Swing Utilities 0.13-SNAPSHOT ............ SUCCESS [ 0.162 s]
[INFO] JNAerator Runtime 0.13-SNAPSHOT .................... SUCCESS [ 0.942 s]
[INFO] JNAerator Rococoa Runtime 0.13-SNAPSHOT ............ SUCCESS [ 0.121 s]
[INFO] JNAerator Parser 0.13-SNAPSHOT ..................... SUCCESS [ 2.190 s]
[INFO] JNAerator CLI and Studio Tools 0.13-SNAPSHOT ....... FAILURE [ 10.212 s]
[INFO] JNAerator Maven Plugin 0.13-SNAPSHOT ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

@AN3Orik
Copy link

AN3Orik commented Aug 8, 2023

Same here. Seems like project fully abandoned.

@AN3Orik
Copy link

AN3Orik commented Aug 8, 2023

Workaround for now: compile and run with java 1.8 + disable docs/tests invocation upon build

set JAVA_HOME=c:\Program Files\Java8\
mvn clean install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true

@acmpo6ou
Copy link

acmpo6ou commented Jun 3, 2024

I just ran the jar I downloaded from here using java 8, and it worked. Thanks @AN3Orik

@BennetVellaExient
Copy link

Built successfully with @AN3Orik suggestion using sdkman java zulu 8

I have no idea where the docs explaining JNAerator usages are, though...

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

No branches or pull requests

4 participants