+ 10
How to include libraries in Java N-IDE
i am making android project and how can i include libraries like appcompat
2 odpowiedzi
+ 5
You can add them without an ide:
javac -classpath external.jar myClass.java
EDIT:
If your main class is in a package
package com.mycompany;
public class myClass
{
...
...
then
you'll need
javac -classpath external.jar com/mycompany/myClass.java
and
to run
java -classpath external.jar com.mycompany.myClass
https://stackoverflow.com/questions/5112607/how-to-include-libraries-in-java-without-using-an-ide
https://stackoverflow.com/questions/4732892/how-to-add-reference-jar-files-in-your-project-when-you-dont-have-an-ide
+ 1
Hi flash
I don't think java n ide is the best
Unless it will be hard coding. So I suggest u to use android studio(https://d.android.com/sdk)
This will be much simpler for complex android project and even for importing libraries simply with gradle system