Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

problem with loading bytecode in eclipse

Thread view: 
plato - 13 Jan 2006 12:00 GMT
Hi
I am a student and i got an assigment to with java.
Some of the file of the assigment i accepted as source code (java file)
while other i got as bytecode.
the class SimpleTurtle i have only as bytecode.
now after i do import to the bytecode and try to use in the class
SimpleTurtle some where in my project i get a messeg cann't resolve
symbole SimpleTurtle.
While i work in the java creator i succed to run my program.
my qustiened is how i can import bycode in eclipse
Robert Klemme - 13 Jan 2006 12:07 GMT
> Hi
> I am a student and i got an assigment to with java.
[quoted text clipped - 6 lines]
> While i work in the java creator i succed to run my program.
> my qustiened is how i can import bycode in eclipse

Never did this myself but I figure you'll have to put them into a
directory with appropriate subdirectories (depending on the package names)
and include the root of this directory hiearchy in your project's
classpath.  Project Properties -> Java Build Path -> Libraries -> Add
Class Folder.

Kind regards

   robert
plato - 13 Jan 2006 12:36 GMT
Thank for the advise
i tried  what you offered but it didn't worked.
anyway i haven't got any package but only the byte-code of the
SimpleTurtle.
if you can explain me  how i can import bytecode to a project i will
thank you.
Robert Klemme - 13 Jan 2006 15:13 GMT
> Thank for the advise
> i tried  what you offered but it didn't worked.
> anyway i haven't got any package but only the byte-code of the
> SimpleTurtle.
> if you can explain me  how i can import bytecode to a project i will
> thank you.

But you should know in which package your SimpleTurtle was compiled.  For
that you need to create your directories.

   robert


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.