Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Running F2 with J9

Also, the launcher for  Java applications has recently changed (as of 0531).  It used to have the value of "user.dir" set to the place from which you launched eclipse.  It is now set  (by default) to the project from which you launched the standalone application.  As a result, on linux people who are running standalone SWT applications used to pick up the library automagically if they started eclipse from the eclipse install directory.  We know have to pass in the location as a VM arg (just like we pass in the SWT library using -Djava.library.path).  Unfortunately this is not obvious.

Sent by: eclipse-dev-admin@xxxxxxxxxxx

04/06/2002 01:38 PM
Please respond to eclipse-dev

        To:        eclipse-dev@xxxxxxxxxxx
        Subject:        Re: [eclipse-dev] Running F2 with J9

PDE launcher is not setting any VM arguments that may be set in
eclipse.exe. The workaround would be to set them manually in the launcher.
PDE could also have some platform-conditional code to set additional
arguments as default in some cases in an effort to mimic eclipse.exe.
However, I don't know if this is doable in all cases and how many
permutations we have (I don't even know how to detect that we use J9). It
would help to find out how many 'eclipse' native programs have hardcoded
options when calling JVM and what they are.


Dejan Glozic, Ph.D.
Application Development
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854

                              To:     eclipse-dev@xxxxxxxxxxx                                        
                   Sent by:                  cc:                                                                    
                   eclipse-dev-admin@e       Subject:     Re: [eclipse-dev] Running F2 with J9                      
                   06/04/2002 12:59 PM                                                                              
                   Please respond to                                                                                

There are a couple of problems I'm seeing with runningF2  on the latest
J9. The J9 team is looking into some of them, but I've got a couple of
questions on the launcher. Is this the appropriate mailing list?

- For Linux/Motif the J9 arguments are hardcoded  in eclipseMotif.c.  The
arguments are different in the newest J9 release so the launcher doesn't
work with the new J9. Should I open a bug report? If so, which component?

- When bypassing the eclipse executable and running J9 by hand, I can
launch but I get errors in SWT related to Xt and Xm calls. I believe the
issue is one I've seen before and it is being caused by SWT picking up
Lesstif libraries on my machine rather than the correct that is
shipped with eclipse.  When launching with jre I don't see this problem,
but I can't find anywhere in the launch logic where the launcher sets up
the enivronment for making this work . I can manually add a LD_PRELOAD  to
my environment and get it to work, but I'm unsure as to why JRE is working
and not J9.


Sent by: eclipse-dev-admin@xxxxxxxxxxx
06/03/2002 09:06 AM
Please respond to eclipse-dev

       To:     eclipse-dev@xxxxxxxxxxx
       Subject:        [eclipse-dev] Running F2 with J9

There is a patch available if you are trying to run build F2 with J9.
It is available off the Platform Core team web page on
Replace the startup.jar in your installation directory with the folllowing

jar file.
Sorry for the confusion.

eclipse-dev mailing list

eclipse-dev mailing list

eclipse-dev mailing list

Back to the top