Eclipse plug-in error: Cannot save the license to disk

Having trouble installing Oxygen? Got a bug to report? Post it all here.
markcappel
Posts: 2
Joined: Fri May 18, 2007 6:29 am
Location: San Francisco

Eclipse plug-in error: Cannot save the license to disk

Post by markcappel »

Ran the oXygen 8.2 plug-in in Eclipse 3.2 successfully under Ubuntu Edgy. Upgraded to Feisty without any serious issues until I encountered the following. Launch Eclipse and when I select oXygen, it prompts me for the license key, which I copy-and-paste into the window. When I push the save or whatever button one is supposed to push to proceed, I get the following error:

[quote]Cannot save the license to disk: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation. [/quote]

In a series of more desperate attempts to make oXygen recognize that I have given it a valid license, I have uninstalled and reinstalled Eclipse, deleted my Eclipse plug-ins directory, reinstalled the oXygen plug-in, and tried running Eclipse as root.

Any ideas for a remedy? TIA
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

We cannot reproduce the problem. We need a logging file generated on your computer. Please contact us for telling you how to enable logging in the oXygen plugin.


Regards,
Sorin
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Just to update the status - When Mark contacted us on support he also mentioned that he uses GNU libgcj which is not supported. There is a related thread about this
http://www.oxygenxml.com/forum/ftopic1887.html

Best Regards,
George
George Cristian Bina
markcappel
Posts: 2
Joined: Fri May 18, 2007 6:29 am
Location: San Francisco

Post by markcappel »

Thanks for the e-mail follow-up. Here is more information if others encounter this situation.

1) On my system, running "update-alternatives --config java" as root DID allow me to make the default java /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

However, this was not picked up by Eclipse. I had installed Eclipse by way of apt-get, and its default java.home was still /usr/lib/jvm/java-gcj/jre/bin/java even after I ran update-alternatives

2) I removed Eclipse with an "apt-get remove eclipse"

3) I did an "rm -fr /etc/eclipse /usr/lib/eclipse /usr/local/lib/eclipse" to remove all vestiges of eclipse that apt-get didn't. I have no idea if this was necessary, but it felt good.

4) I downloaded the latest version of Eclipse from http://www.eclipse.org, and unpacked it a sane place. It launched fine. In checking the configuration, I see that java.home=/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre

5) I followed the instructions on the oXygen download page for installing the plug-in. Success!

No doubt I could have located where Eclipse picks up its environment variables to change which version of Java the Eclipse installed on my machine relied upon, but starting over from scratch was more expeditious for me.

I appreciate the quick follow-up from George and Sorin.
Post Reply