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

Error in forked process when trying to compile project using JDSP #88

Open
LobsterMan123 opened this issue Dec 8, 2024 · 0 comments
Open

Comments

@LobsterMan123
Copy link

I am trying to use JDSP (the newest version) and when I try to compile in Maven, I get an unusual error as seen below:

[ERROR] There was an error in the forked process [ERROR] org/apache/maven/surefire/report/RunModeSetter [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process [ERROR] org/apache/maven/surefire/report/RunModeSetter [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)

There are at least 30 additional such ERROR tags. If I'm not mistaken this type of error deals with compatibility issues between a library and the Java installation. I used the most up-to-date surefire plugin and still got the same "forked" error. I went ahead and tried to compile an earlier project that used JDSP (albeit an older version of JDSP invoked in that project's pom file), which did compile and worked nicely back when I wrote that program, yet this time, I got the same "forked" error. I know it's not my Java installation as I compiled another project that doesn't use JDSP at all and that project compiled fine.

1) Do users need to have some special version of Java installed in order to use JDSP from now on (I'm using Java 17 and cannot update to a higher version)?

2) Am I trying to import the JDSP library at an inconvenient time (December 8, 2024 at around 2:36 AM EST)?

I believe my old JDSP project's pom file was invoking the old version of JDSP already downloaded and located in my .m2 folder/on-board repository yet it still yielded that error which never happened before, so I don't see why Maven Central would even need to be invoked for some potentially new/different version of JDSP for my old program using something already installed (admittedly, I stepped away during the old project's compilation, so I didn't see if JDSP - even from the old project - was being re-downloaded from Maven or not).

I'd be happy to share my pom file just in case if you would like to see if I have any dependencies or plugins that might be interfering with JDSP. Thanks and I hope that JDSP can continue to be used on any architecture and with a flexibility of Java versions as it's done in the past.

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

1 participant