Import the UObject Java project
We provide a sample
Eclipse project configuration that
you can import in Eclipse and use to create your own UObject Java.
We illustrate here how you can do this:
- Right click in the Package Explorer panel and select 'import' (or go in File/import)
- Select 'Existing Projects into Workspace' in the opened windows
- Click 'Next'
- Enter the path of the uobject java remote sdk on your computer
- Eclipse should find .project file in the provided and display the 'liburbi' project
- Select the 'liburbi' project and click 'Finish'
The Java project is loaded. You can see the jar containing the liburbi (liburbijava.jar, storing the UObject Java API)
which contains three packages of liburbi: liburbi.main, liburbi.image and
liburbi.sound.
You can also see the sources of the example we provide. We put them in the packages examples.uobjectjava.
You can inspire yourself from these examples to make your own UObjects.
Here, we will see how to compile and run them in eclipse
NB: If Eclipse complains about errors in the source code, it can be that your compiler
compliance level is two low. You have to set the compiler compliance level to Java 5 at least
(Windows/Preferences/Java/Compiler).