przemelek / ooo2gd

Automatically exported from code.google.com/p/ooo2gd
3 stars 2 forks source link

extension does not work in Openoffice 3 beta Mac #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download extension
2. install extension
3. try importing or exporting from zoho or Google Docs

What is the expected output? What do you see instead?
I expected a dialog asking for username and password.  I see nothing.

What version of the product are you using? On what operating system?
version 1.1.2 on OS X Leopard

Please provide any additional information below.
I have got my mac to use Java 1.6.0_05 and the version of openoffice is 3.0.0 
beta (build: 9328)

Original issue reported on code.google.com by tonyhawk...@gmail.com on 12 Aug 2008 at 6:44

GoogleCodeExporter commented 9 years ago
I have the same problem on OOO300m5 (build 9350) with OS X 10.5.5

Set openoffice to use Java 1.6.0_05.

Looking in the console log i noticed the following error when i selected Google 
Docs
-> Configuration from the menu. 
[0x0-0x1b61b6].org.openoffice.script[15991] Exception in thread "Thread-262"
java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group 
[0x0-0x1b61b6].org.openoffice.script[15991]  at
org.openoffice.gdocs.GDocs$1.run(GDocs.java:181) 
[0x0-0x1b61b6].org.openoffice.script[15991]  at 
java.lang.Thread.run(Thread.java:613) 

Original comment by dale.hof...@gmail.com on 21 Sep 2008 at 3:28

GoogleCodeExporter commented 9 years ago
I think i already found the reason it's not working.
The Java 6 update from Apple for OS X 10.5.x is only for 64-bit. If your 
software
requires 32-bit stuff, it won't work. According to the comments in this post :
http://weblogs.java.net/blog/arungupta/archive/2008/04/java_se_6_u5_on.html
the SWT toolkit is 32-bit. 

Is there another Java 6 version (not from apple) available for OS X ?

Original comment by dale.hof...@gmail.com on 21 Sep 2008 at 4:06

GoogleCodeExporter commented 9 years ago
From this that I know [I don't owe Mac, I only read it on apple page] for Mac 
it is
only available 64-bit version of Sun Java 6, and this version wont work on 
PowerPC or
Intel.
Btw. class javax.swing.GroupLayout is Swing component, not SWT.

Whole problem with AddOn is that Google libraries used for access to Google Docs
needs Sun Java 6.

Original comment by przeme...@gmail.com on 21 Sep 2008 at 4:18

GoogleCodeExporter commented 9 years ago
Macs with core 2 duo are 64-bit machines.

Original comment by tonyhawk...@gmail.com on 21 Sep 2008 at 4:46

GoogleCodeExporter commented 9 years ago
I does not work with the above method on a Macbook Pro, late 2008. 

Original comment by toker...@gmail.com on 25 Nov 2008 at 12:45

GoogleCodeExporter commented 9 years ago
If it hasn't proper Java 6 it wont work.

Original comment by przeme...@gmail.com on 25 Nov 2008 at 1:13

GoogleCodeExporter commented 9 years ago
So this means I cannot use this on a MacBook Pro?

Original comment by muiiio....@gmail.com on 17 Jan 2009 at 12:47

GoogleCodeExporter commented 9 years ago
This seems to be related to this bug on another google code project:
http://code.google.com/p/javauploader/issues/detail?id=6

Just wanted to cross-link in order to cooperate and maybe make people find the
solution on the other bug report if it's not posted on both.

Original comment by k...@kbit.dk on 1 Mar 2009 at 7:51

GoogleCodeExporter commented 9 years ago
Issue 46 has been merged into this issue.

Original comment by przeme...@gmail.com on 1 Mar 2009 at 11:11

GoogleCodeExporter commented 9 years ago
As reference to Comment 8,

I've fixed the issue on the javauploader (with the help of k...)by replacing all
instances of javax.swing.GroupLayout with the equivalent netbeans
org.jdesktop.layout.GroupLayout and added swing-layout-1.0.3.jar to the 
classpath.

It might be an ugly fix, but it's what we can do until sun/apple release Java6 
on 32
bit for OSX.

Hope this helps somehow.

Regards,
Raz

Original comment by razif...@gmail.com on 2 Mar 2009 at 2:09

GoogleCodeExporter commented 9 years ago
Java 6 is 64 bit, and OO.org is 32 bit application.
Resolution is to create Java 5 version of AddOn - will try ;-)

Original comment by przeme...@gmail.com on 10 Mar 2009 at 12:44