score:1
Accepted answer
create a new project in eclipse:
file > new > java project
this will create a project with a src
folder. then copy and paste the java files into this directory via the file system. if the .java files are packaged you may need to create packages within the src
folder.
click the src folder > file > new > package
Source: stackoverflow.com
Related Query
- How do I put a folder with java files into eclipse's package explorer
- How can i refresh Eclipse Package explorer with java code?
- How do you get the Eclipse Package Explorer to show files whose names begins with a . (period)?
- How to add many sub directories with Java files into eclipse?
- How to put SqlMap files into src/main/resources with MyBatis Generator Eclipse Plugin?
- How to package dependencies into java project with eclipse
- How do I go about adding an image into a java project with eclipse?
- How to import a java project missing .project .settings .classpath files into eclipse
- Why does Eclipse open my java files as a tab in the package explorer view?
- How to automatically open folder location in package explorer corresponding to the viewed .java
- What should be put into the project, folder and package
- How to import class into existing Java project, with Eclipse
- How can I keep the Eclipse debugger from automatically expanding the Package Explorer into libraries on exceptions?
- How to copy resources folder out of jar into program files
- How do you import an android project with no .classpath or .project files into Eclipse?
- How to export java project from eclipse into a jar file with images
- Eclipse - Can't View or Open Java files in Package Explorer to Editor
- Running a script on the Java source files before compiling into bytecode, possible with Eclipse?
- Java -- how do I access (import) the class files in a folder that is in the same directory as the src folder?
- How to read from text files inside a folder that has been imported into eclipse?
- Eclipse, Java project - How do I add a source folder where the folder name is part of the package name?
- Eclipse IDE -- how do I put my external .jar files into a lib folder?
- Creating a Java Library or class or package with Jar files
- How to link files to package explorer in Eclipse?
- Eclipse package explorer doesn't show X-icons upon compilation problematic java files
- How to take package .java files into a Eclipse Project
- How to put extra files in Android APK with Eclipse?
- Is that possible to use Eclipse Java SE version to package a resource folder into a .war?
- How to put java code into an application format?
- eclipse git how to sychronize local branch with remoter repository package explorer
More Query from same tag
- Using Eclipse to create a new JUnit test case
- Sending mail in android without Intent
- executing jar file created from maven build
- Codeigniter not DLTK indexing in eclipse
- Eclipse + Maven + Spring Application: java.lang.NoClassDefFoundError
- How to start applet in eclipse by providing eclipse with an html file?
- Edit text integer
- Ongoing crash in Android Application
- Can I use somehow printpoints in IntelliJ
- How to use Phonegap properly
- Eclipse 4.12 - java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
- How to get an Id Perspective of Eclipse?
- Custom List Class, How to loop through hasNext Method?
- Eclipse won't recognize my Android Device
- Not able to use @Inject in eclipse 4
- Eclipse PHP Can't connect to SQL using XAMPP
- Turning from .cproject to .vcproj
- Adding jstl as a Maven Dependency
- Draw on a photo
- how to run eclipse on linux ubuntu for c programming?
- Eclipse: "Update SVN cache" hangs and locks up
- Force Close Unexpectedly
- How to solve org.openqa.selenium.NoSuchElementException: no such element
- Android sdk download/update failing
- Importing WAR file in Eclipse. Name's cannot be empty
- Eclipse can not compile SOAP WebServices client generated by Eclipse
- Cannot start JBoss from Eclipse
- JProfiler java.lang.UnsupportedClassVersionError
- Auto clear browser's history when start project from eclipse
- SoapUI Eclipse Plugin Freezes