Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 391321

Summary: Cannot open the popup dialog for "Add External Jars..."
Product: [Eclipse Project] JDT Reporter: brent welch <lyxca>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r, Michael_Rennie
Version: 4.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Add external jar cannot open
none
Export user libraries cannot open, neither
none
my log none

Description brent welch CLA 2012-10-07 07:50:57 EDT
Window->Preferences->Java->Build Path->User Libraries
After you create a new customized Lib, the popup dialog cannot open when you press the "Add External Jars..." button.


-- Configuration Details --
Product: Eclipse 1.5.1.20120828-0743 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO
Comment 1 brent welch CLA 2012-10-07 07:56:33 EDT
Created attachment 221995 [details]
Add external jar cannot open
Comment 2 brent welch CLA 2012-10-07 07:56:58 EDT
Created attachment 221996 [details]
Export user libraries cannot open, neither
Comment 3 Dani Megert CLA 2012-10-09 10:27:54 EDT
Anything in the .log?

This looks similar to bug 385848. Are you using the correct bitness for your OS and your JRE?
Comment 4 brent welch CLA 2012-10-10 04:20:11 EDT
Created attachment 222102 [details]
my log

my log

Thanks for your reply. Could you help me check the attached log? Here is the summary:
eclipse.buildId=M20120914-1800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

My os, jre and eclipse are 64 bit.
Comment 5 Dani Megert CLA 2012-10-10 04:26:50 EDT
(In reply to comment #4)
> Created attachment 222102 [details]
> my log
> 
> my log
> 
> Thanks for your reply. Could you help me check the attached log? Here is the
> summary:
> eclipse.buildId=M20120914-1800
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments:  -product org.eclipse.epp.package.jee.product
> Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product
> org.eclipse.epp.package.jee.product
> 
> My os, jre and eclipse are 64 bit.

Are you 100% sure that the 64-but JRE is used? The .log does not indicate an error in the reported area.
Comment 6 brent welch CLA 2012-10-10 05:31:50 EDT
yeah. I got 64 after I run the following prog:

public class App 
{
    public static void main( String[] args )
    {
        System.out.println(System.getProperty("sun.arch.data.model"));
    }
}
Comment 7 brent welch CLA 2012-10-10 05:35:16 EDT
(In reply to comment #6)
> yeah. I got 64 after I run the following prog:
> 
> public class App 
> {
>     public static void main( String[] args )
>     {
>         System.out.println(System.getProperty("sun.arch.data.model"));
>     }
> }

And I only installed 64Bit JDK on my laptop.
Comment 8 Dani Megert CLA 2012-10-10 05:58:41 EDT
(In reply to comment #6)
> yeah. I got 64 after I run the following prog:
> 
> public class App 
> {
>     public static void main( String[] args )
>     {
>         System.out.println(System.getProperty("sun.arch.data.model"));
>     }
> }

This doesn't say what's used to run Eclipse. You can add the -showversion VM argument (-vmargs -showversion). Or, simply specify the VM by using -vm.

If that shows that the JRE is indeed 64-bit then the only thing you can do is remote-debugging the code for us, so that we get more info.
Comment 9 brent welch CLA 2012-10-10 08:10:57 EDT
It's caused by installing the plugin manually, including subclise, m2e, gef, etc. I tried to reinstall subclise and m2e with the new feature "Eclipse Marketplace" and everything is ok now. Thank  Dani Megert for your help, again.