- Joined
- May 25, 2008
- Messages
- 454
- Reaction score
- 0
Note: Before you download the followings, please make sure that you have WinZip, which can be dowload from here:
Why Eclpise?
Eclipse is easier to compile compared to NetBeans. It will not give you any symbol error, as it is in NetBeans. Also, Eclipse will also provide you with the solution and recommendation of what to do if you have any error when compiling. Eclpise is the best compiler for novice to start off with Java projects as the control panels are simple and easy-to-understand.
How to use Eclipse?
1. Go to
2. Click on the Download tab, and you can either download:
- Eclipse IDE for Java Developers (85 MB) - If you want to safe space.
- Eclipse Classic 3.4 (151 MB) - What I recommend the most, because this includes the plug-in etc.
- Eclipse IDE for Java EE Developers (163 MB) - Better, you can create web page that includes Java with this.
3. Wait for the download.
4. Extract the WinZip folder to your selected destination. I extract it to my C deive ->Programn files and Eclipse.
5. Run your Eclipse, and select a destination for your workspace. This does not really matter unless you are creating your own java programms.
6. On the selection tab, click file>New>Java Project.
7. Choose "Create project from existing source."
8. Give it a name (eg: OdinMS) In the "Directory", browse for your "scr" file (eg: C:\Documents and Settings\Xeylus\Desktop\Repack 1000\src). Leave the rest as default and click NEXT.
9. Under the "Libraries" tab, click "Add External JARs" and then browse for your dist folder (eg: C:\Documents and Settings\Xeylus\Desktop\Repack 1000\dist) and add all the .jar files in the dist folder:
Files are: exttools.jar, mina-core.jar, mysql-connector-java-bin.jar, odinms.jar, slf4j-api.jar and slf4j-jdk14.jar
10. Click Finish.
11. TOODLES!
Method A
A1. After you have done editing, right click on the project (Project, not package! Eg. If you use my above project name, you should right click on OdinMS, and not net.sf.odinms.client etc.) and click Build Project.
A2. Right click on the project name again and click Export. Select Java>jar file
A3. Select the export destination (Where you .jar file want to land) and name the file odinms.jar
A4. Click Finish
A5. Go to your export destination and put the odinms.jar into your dist folder (Remove or overwrite the previous odinms.jar)
A6. Profits!
Method B - Novice Guide.
B1. Right click on project name ->select Java->JAR File and click next.
B2. Select the export destination (Where you .jar file want to land) and name the file odinms.jar and click NEXT.
B3. Check these boxes:
- Export class files with compile warnings
- Export class files with compile errors
- Build project if not automatically build
B4. Click FINISH.
B5. More profits? (For novice =D)
NOTE:
1. When deleting a project, remember to choose "Do not delete content" or else your scr file will also get deleted.
2. If you have "Library not found" error, you have either did not add in the external jars or you have added the .jar files which is different in the repacks or revisions you use for your "scr" file.
3. Warning is different from error. You still can compile and run your server if you have warnings, but you won't be able to run your server is there are errors. (Compiling will be fine.)
Should you have any questions, feel free to post here.
-Adding pics?
To view the content, you need to sign in or register
Why Eclpise?
Eclipse is easier to compile compared to NetBeans. It will not give you any symbol error, as it is in NetBeans. Also, Eclipse will also provide you with the solution and recommendation of what to do if you have any error when compiling. Eclpise is the best compiler for novice to start off with Java projects as the control panels are simple and easy-to-understand.
How to use Eclipse?
1. Go to
To view the content, you need to sign in or register
2. Click on the Download tab, and you can either download:
- Eclipse IDE for Java Developers (85 MB) - If you want to safe space.
- Eclipse Classic 3.4 (151 MB) - What I recommend the most, because this includes the plug-in etc.
- Eclipse IDE for Java EE Developers (163 MB) - Better, you can create web page that includes Java with this.
3. Wait for the download.
4. Extract the WinZip folder to your selected destination. I extract it to my C deive ->Programn files and Eclipse.
5. Run your Eclipse, and select a destination for your workspace. This does not really matter unless you are creating your own java programms.
6. On the selection tab, click file>New>Java Project.
7. Choose "Create project from existing source."
8. Give it a name (eg: OdinMS) In the "Directory", browse for your "scr" file (eg: C:\Documents and Settings\Xeylus\Desktop\Repack 1000\src). Leave the rest as default and click NEXT.
9. Under the "Libraries" tab, click "Add External JARs" and then browse for your dist folder (eg: C:\Documents and Settings\Xeylus\Desktop\Repack 1000\dist) and add all the .jar files in the dist folder:
Files are: exttools.jar, mina-core.jar, mysql-connector-java-bin.jar, odinms.jar, slf4j-api.jar and slf4j-jdk14.jar
10. Click Finish.
11. TOODLES!
- COMPILING -
There are two way of compiling. If you are not those kind of novice and understand what I mean, go to Method A, however, if you are a first time compiler, I suggest you to use Method B.Method A
A1. After you have done editing, right click on the project (Project, not package! Eg. If you use my above project name, you should right click on OdinMS, and not net.sf.odinms.client etc.) and click Build Project.
A2. Right click on the project name again and click Export. Select Java>jar file
A3. Select the export destination (Where you .jar file want to land) and name the file odinms.jar
A4. Click Finish
A5. Go to your export destination and put the odinms.jar into your dist folder (Remove or overwrite the previous odinms.jar)
A6. Profits!
Method B - Novice Guide.
B1. Right click on project name ->select Java->JAR File and click next.
B2. Select the export destination (Where you .jar file want to land) and name the file odinms.jar and click NEXT.
B3. Check these boxes:
- Export class files with compile warnings
- Export class files with compile errors
- Build project if not automatically build
B4. Click FINISH.
B5. More profits? (For novice =D)
NOTE:
1. When deleting a project, remember to choose "Do not delete content" or else your scr file will also get deleted.
2. If you have "Library not found" error, you have either did not add in the external jars or you have added the .jar files which is different in the repacks or revisions you use for your "scr" file.
3. Warning is different from error. You still can compile and run your server if you have warnings, but you won't be able to run your server is there are errors. (Compiling will be fine.)
Should you have any questions, feel free to post here.
-Adding pics?