OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Java Imports Missing after migration from v2 to v3

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
ib4jc78
General User
General User


Joined: 24 Jan 2008
Posts: 15

PostPosted: Sat Sep 19, 2009 7:27 pm    Post subject: Java Imports Missing after migration from v2 to v3 Reply with quote

I had OO v2 installed and decided to upgrade to v3, I am using the Eclipse IDE and my java applications now cannot find several imports, for example the following cannot be found -

Code:

import com.sun.star.frame.*;
import com.sun.star.view.*;
import com.sun.star.sheet.*;
import com.sun.star.table.*;


I had changed my build path to include the new class files in the URE/Java directory and most of the imports where found, but the ones above where not and now my application will not run. I tried to find a document that has notes for migrating from v2 to v3 but I did not find anything useful. Eclipse is not seeing something, I have added the following jar files to my build path... unoloader.jar, java_uno.jar, juh.jar, jurt.jar, and ridl.jar. I remember v2 having more jar files. Am I missing something? Thanks!
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3532
Location: Hamburg, Germany

PostPosted: Sun Sep 20, 2009 12:27 am    Post subject: Re: Java Imports Missing after migration from v2 to v3 Reply with quote

ib4jc78 wrote:
Am I missing something?

unoil.jar
Back to top
View user's profile Send private message
ib4jc78
General User
General User


Joined: 24 Jan 2008
Posts: 15

PostPosted: Sun Sep 20, 2009 5:19 am    Post subject: Reply with quote

That one is not there, it is located somewhere else or do I have a bad installation of OO?
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3532
Location: Hamburg, Germany

PostPosted: Sun Sep 20, 2009 6:14 am    Post subject: Reply with quote

ib4jc78 wrote:
hol.sten wrote:
unoil.jar
That one is not there, it is located somewhere else or do I have a bad installation of OO?

It's part of every OOo installation I've used and it's still part of OOo 3.x versions. Since OOo 3.x all of OOo's JAR files are located in subfolders of Basis\program\classes and URE\java (http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=10825).

Where did you get your OOo setup file from?
Back to top
View user's profile Send private message
ib4jc78
General User
General User


Joined: 24 Jan 2008
Posts: 15

PostPosted: Sun Sep 20, 2009 6:23 am    Post subject: Reply with quote

I found it, I was looking in the wrong spot. I also found I needed to get the SDK, I installed that too. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group