Git Product home page Git Product logo

Comments (10)

yyxhdy avatar yyxhdy commented on May 27, 2024

Hi, you can just create an empty Java Project in Eclipse and then put the source code of Arja ("src" folder), dependencies ("lib" folder), and the external binaries ("external" folder) under this new project.
And make sure that all jars in the "lib" folder have been linked to your project.

from arja.

Kaka727 avatar Kaka727 commented on May 27, 2024

@yyxhdy Thanks. This method really works.
However, after importing the .jars files, there are still some errors in the code
image

One is about the builder.redirectOutput
image

The other is about the classLoader.close
image

I'd like to know how to solve these problems.

from arja.

Kaka727 avatar Kaka727 commented on May 27, 2024

I find in the external packages, these functions are not defined.
So is there any difference between the latest code and the previous versions.

from arja.

yyxhdy avatar yyxhdy commented on May 27, 2024

Can you let me know which JDK version you use in your eclipse project?

from arja.

Kaka727 avatar Kaka727 commented on May 27, 2024

Mine is java 1.8

from arja.

yyxhdy avatar yyxhdy commented on May 27, 2024

Can you see a jar named "rt.jar" under "JRE System Library"? And make sure that you can
find the classes "java.net.URLClassLoader" and "java.lang.ProcessBuilder" in rt.jar.

from arja.

Kaka727 avatar Kaka727 commented on May 27, 2024

Yes, I can find these external packages. But I have checked that java.lang.ProcessBuilder does not contain a function named redirectOutput.
image

from arja.

yyxhdy avatar yyxhdy commented on May 27, 2024

The problem may be due to the JDK version. I suggest you use the JDK 1.7 since Arja was not well tested on JDK 1.8.

from arja.

Kaka727 avatar Kaka727 commented on May 27, 2024

Thanks.
After changing the jdk to version 1.7, there is no error now!

from arja.

yyxhdy avatar yyxhdy commented on May 27, 2024

You are welcome!

from arja.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.