Community
Participate
Working Groups
I have just installed Eclipse Europa (eclipse-java-europa-fall2-linux-gtk.tar.gz) on Ubuntu Hardy and I get this message every time I start it: Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features. The error message will not show anymore, if you do "mkdir $HOME/.mozilla/eclipse".
You need to report this problem to your ubuntu package maintainers. It sounds like it could be a conflict between your eclipse install and your embedded browser provider (mozilla? firefox?) PW
I am not using packaged eclipse because it is older (3.2) - I have downloaded it from eclipse.org site, that's why I am reporting it here.
Where did you install it? Did you untar it over an existing installation? Make sure you are not running with GCJ/Classpath. Please attach any log files <workspace>/.metadata/.log? You say 3.2, but Europa is 3.3 ... if it's 3.2, then please try 3.3. You can get the correct version number from Help>About eclipse, or if eclipse won't come up the next best thing is to find the eclipse/plugins/org.eclipse.ui.workbench_*.jar PW
No, it's a misunderstanding - ubuntu has only eclipse 3.2, so I downloaded the latest 3.3 from eclipse site directly. I used this tar.gz: http://www.mirrorservice.org/sites/download.eclipse.org/.../release/20071103/eclipse-java-europa-fall2-linux-gtk.tar.gz so now I have eclipse in ~/eclipse About dialog: Version: 3.3.1.1 Build id: M20071023-1652 I uninstalled gcj just in case so I have sun's java only: $ java -version java version "1.6.0_04" Java(TM) SE Runtime Environment (build 1.6.0_04-b12) Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing) I also deleted the eclipse and workspace directory and started from fresh install just to be sure. I could not find any log files in workspace, I attached "find eclipse" and "find workspace" output. Also, I attached the output from strace ./eclipse | grep mozilla
Created attachment 88710 [details] find eclipse
Created attachment 88711 [details] find workspace
Created attachment 88712 [details] strace ./eclipse | grep mozilla
I have manually created the directory .mozilla/eclipse and this is the strace that I get:
Created attachment 88713 [details] strace after creating .mozilla/eclipse
Thanx, Egon, that helps. Have you ever run firefox? I think if you ran it once your exception would go away. It seems eclipse doesn't like it if some of the firefox local files haven't been created. PW
Firefox configuration files are stored in .mozilla/firefox, so it's separate from .mozilla/eclipse. I've also checked ubuntu diff for eclipse 3.2.2 and there seems to be no mention of .mozilla/eclipse http://archive.ubuntu.com/ubuntu/pool/universe/e/eclipse/eclipse_3.2.2-4ubuntu1.diff.gz
This is very likely a dup of bug 206432 which is fixed in the 3.4 stream. Can you see if this works for you with a build like 3.4M4?
On second thought, Ubuntu Hardy may have an additional problem with 3.4M4 if it has a 1.9-stream xulrunner on it. Instead of trying eclipse 3.4M4 can you try a newer integration build, such as http://download.eclipse.org/eclipse/downloads/drops/I20080129-1400/index.php ?
I've just tried prebuilt eclipse-SDK-N20080203-0010-linux-gtk.tar.gz and it works OK (.mozilla/eclipse was created automatically)
ok, closing report as a duplicate of bug 206432 *** This bug has been marked as a duplicate of bug 206432 ***
Created attachment 103411 [details] patch that fixes this for eclipse 3.3.x