How to use the content of a .jar file as project in Eclipse?

lisa

i received a .jar file and want to use the content of the file as an Eclipse project NOT

in an Eclipse project

I have tried to extract the .jar file, but eclipse doesn't reconize it as java project. The Jar file contains .class and .java files.

I already tried this way:

1-extract the JAR-file
2-create an new project in eclipse
3-right click on that project
4-import
5-file system

But i didn't work!

How can i proceed?

Thank you!

Philipp Sander

if you want to modify the code, this works if the JAR contains the source-files:

  1. extract the JAR-file
  2. create an new project in eclipse
  3. show the project (+)
  4. right click on the "src" folder
  5. import
  6. file system
  7. choose the folder you want to import
  8. check it in the left panel

if you just want to use the classes in the JAR-file

  1. rigth click on the project
  2. build path.
  3. libraries and click on Add external JARS.

if you want to modify the code of the JAR but it does not contain the source files, you need to decompile the class-files.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to use the content of a .jar file as project in Eclipse?

From Dev

How to import github maven project as jar file in Eclipse?

From Dev

How to make the runnable jar file for a maven eclipse project with hibernate configuration

From Dev

How to make jar file from eclipse project including library?

From Dev

How to create a jar file from an eclipse java project that uses *.jar files added in "Classpath"

From Dev

How to create a jar file from an eclipse java project that uses *.jar files added in "Classpath"

From Dev

How to use a .properties file in Eclipse Java Dynamic Web Project?

From Dev

how to import a .JAR file in the "/dist" folder of a Java Application project in netbeans to eclipse

From Dev

How to add servlet JAR file permanently in Eclipse Oxygen instead of adding to each project?

From Dev

Java project working on Eclipse but not working when exported to runnable jar file

From Dev

quickblox-chat android jar file for eclipse project

From Dev

How to use Jar file in Golang?

From Dev

how to execute a runnable jar file in eclipse

From Dev

How Add jar file to eclipse plugin?

From Dev

How to use sbt-eclipse to create Eclipse project files of a project?

From Dev

How to Create a jar file from github project

From Dev

How to generate an obfuscated jar file for a maven project

From Dev

How to add a jar file to a project in android studio

From Dev

How to export a .jar file from a gluon project?

From Dev

How to use Eclipse plugin tarlog.eclipse.plugins_1.4.2.jar

From Dev

How to use Eclipse plugin tarlog.eclipse.plugins_1.4.2.jar

From Dev

How to use file appender with jar file?

From Dev

Eclipse - How to add a project as a Maven dependency to another, instead of adding as a jar?

From Dev

Eclipse: How to build an executable jar using ant with external project dependencies?

From Dev

how to make runnable jar for javaCV or openCV project from Eclipse

From Dev

How do I exclude a package from an imported JAR for a project in Eclipse?

From Dev

how to add dependent library(jar) to scala project in Eclipse/Scala IDE

From Dev

How to Include and Use GSON library in Eclipse project

From Dev

how to use android project library in eclipse?

Related Related

  1. 1

    How to use the content of a .jar file as project in Eclipse?

  2. 2

    How to import github maven project as jar file in Eclipse?

  3. 3

    How to make the runnable jar file for a maven eclipse project with hibernate configuration

  4. 4

    How to make jar file from eclipse project including library?

  5. 5

    How to create a jar file from an eclipse java project that uses *.jar files added in "Classpath"

  6. 6

    How to create a jar file from an eclipse java project that uses *.jar files added in "Classpath"

  7. 7

    How to use a .properties file in Eclipse Java Dynamic Web Project?

  8. 8

    how to import a .JAR file in the "/dist" folder of a Java Application project in netbeans to eclipse

  9. 9

    How to add servlet JAR file permanently in Eclipse Oxygen instead of adding to each project?

  10. 10

    Java project working on Eclipse but not working when exported to runnable jar file

  11. 11

    quickblox-chat android jar file for eclipse project

  12. 12

    How to use Jar file in Golang?

  13. 13

    how to execute a runnable jar file in eclipse

  14. 14

    How Add jar file to eclipse plugin?

  15. 15

    How to use sbt-eclipse to create Eclipse project files of a project?

  16. 16

    How to Create a jar file from github project

  17. 17

    How to generate an obfuscated jar file for a maven project

  18. 18

    How to add a jar file to a project in android studio

  19. 19

    How to export a .jar file from a gluon project?

  20. 20

    How to use Eclipse plugin tarlog.eclipse.plugins_1.4.2.jar

  21. 21

    How to use Eclipse plugin tarlog.eclipse.plugins_1.4.2.jar

  22. 22

    How to use file appender with jar file?

  23. 23

    Eclipse - How to add a project as a Maven dependency to another, instead of adding as a jar?

  24. 24

    Eclipse: How to build an executable jar using ant with external project dependencies?

  25. 25

    how to make runnable jar for javaCV or openCV project from Eclipse

  26. 26

    How do I exclude a package from an imported JAR for a project in Eclipse?

  27. 27

    how to add dependent library(jar) to scala project in Eclipse/Scala IDE

  28. 28

    How to Include and Use GSON library in Eclipse project

  29. 29

    how to use android project library in eclipse?

HotTag

Archive