Skip to main content



      Home
Home » Newcomers » Newcomers » How to structure Projects with J2SE,J2ME,Android(Cannot subclass Java SE in ME Project)
icon5.gif  How to structure Projects with J2SE,J2ME,Android [message #529031] Thu, 22 April 2010 12:54 Go to next message
Eclipse UserFriend
Converting from Netbeans, I would like to setup my Projects so that base classes and server classes are contained in Java SE Projects and client subclasses are located in Java ME and 'Android' Projects.
But I cant understand how to make my Java ME Project accept the SE super classes.
In Netbeans I had to store the super classes in a 'fake' ME project. Is this true in Eclipse as well?

Re: How to structure Projects with J2SE,J2ME,Android [message #529039 is a reply to message #529031] Thu, 22 April 2010 13:13 Go to previous messageGo to next message
Eclipse UserFriend
"Daniel Nilsson" <daniel.nilsson@vicinitor.se> wrote in message
news:hqpv01$5h9$1@build.eclipse.org...
> Converting from Netbeans, I would like to setup my Projects so that base
> classes and server classes are contained in Java SE Projects and client
> subclasses are located in Java ME and 'Android' Projects.
> But I cant understand how to make my Java ME Project accept the SE super
> classes. In Netbeans I had to store the super classes in a 'fake' ME
> project. Is this true in Eclipse as well?
>
>
I'm not exactly sure what you mean by "accept the SE super clases". If you
are refering to importing/referencing/subclassing, then you should be able
to accomplish this by refering to the SE projects from the ME projects.
Open the Project->Properties dialog and select Java Build Path. On the
Projects tab, add the the SE projects. You now have the SE projects on your
build path.
Re: How to structure Projects with J2SE,J2ME,Android [message #529063 is a reply to message #529039] Thu, 22 April 2010 15:20 Go to previous message
Eclipse UserFriend
Sorry, but I maybe wasnt clear enough. Eclipse lets me reference and import the SE classes but the build is somehow not complete. The midlet aborts with "No class...". It seems like the SE classes are not bound.
If you say that combining SE and ME Projects into a midlet, should be OK, then something else is wrong.
Previous Topic:Network application problem
Next Topic:How to show detected plugins
Goto Forum:
  


Current Time: Sun Nov 09 18:55:23 EST 2025

Powered by FUDForum. Page generated in 0.07874 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top