Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179141 - eclipse > 3.3M5 not launch the problem is "/usr/bin/run-java-tool"
Summary: eclipse > 3.3M5 not launch the problem is "/usr/bin/run-java-tool"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL: https://bugs.eclipse.org/bugs/show_bu...
Whiteboard:
Keywords:
: 184582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-19 19:20 UTC by Nili
Modified: 2007-07-08 15:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nili 2007-05-19 19:20:40 UTC
eclipse launch fails with:

* run-java-tool is not available for sun-jdk-1.5 on i686
* IMPORTANT: some Java tools are not available on some VMs on some architectures

My fix for this problem:

Edit "run-java-tool" and add

# my dirty fix
if  [ "$tool" = "run-java-tool" ]; then
   tool="java"
fi

under line "tool=$(basename $0)".


Reproducible: Always
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-05-19 19:31:03 UTC
I don't see any such version in Portage?

betelgeuse@pena /usr/portage/dev-util/eclipse-sdk $ eshowkw
Keywords for dev-util/eclipse-sdk:

         |                           s     |
         |                 p         p     |
         |                 p         a   x |
         |                 c         r   8 |
         |                 -         c   6 | u
         | a a             m p     s -   - | n
         | l m   h i m m   a p s   p f   f | u s
         | p d a p a 6 i p c c 3   a b x b | s l
         | h 6 r p 6 8 p p o 6 9 s r s 8 s | e o
         | a 4 m a 4 k s c s 4 0 h c d 6 d | d t
---------+---------------------------------+------
3.0.1-r3 |   ~           +             +   |   3
3.0.2-r1 |   ~           ~             ~   |
---------+---------------------------------+------
3.1.2-r3 |   ~           ~             ~   |   3.1
---------+---------------------------------+------
3.2.1-r1 |   +           +             +   |   3.2
3.2.1-r2 |   +           ~             +   |
Comment 2 Nili 2007-05-19 19:55:17 UTC
Sorry! Is an download version from eclipse.org.
Portage version are unfortunately to old. Eclipse has change the
launcher.

http://download.eclipse.org/eclipse/downloads/drops/S-3.3M5-200702091006/eclipse-news-M5.html
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-05-19 20:12:53 UTC
(In reply to comment #2)
> Sorry! Is an download version from eclipse.org.
> Portage version are unfortunately to old. Eclipse has change the
> launcher.
> 

What do you expect us to do about? We have no control over the upstream launchers. If want it to work out of the box on Gentoo submit a bug report to https://bugs.eclipse.org/bugs/
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-05-19 20:22:53 UTC
(In reply to comment #3)
> 
> What do you expect us to do about? We have no control over the upstream
> launchers. If want it to work out of the box on Gentoo submit a bug report to
> https://bugs.eclipse.org/bugs/
> 

Also if you do that please add the url to that report to this and I would suggest providing upstream a patch because I doubt the Eclipse developers are running Gentoo.
Comment 5 Nili 2007-05-20 11:29:59 UTC
I found a bug report ID: 176021.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=176021
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2007-05-22 20:20:25 UTC
I remember working with a user who ended up filing the upstream bug. There really isn't much we can do about upstream fixing it.

What we can do though, is check if it's being invoked as 'run-java-tool', and give an error that it should be invoked by a symlink, and not directly.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-07-08 15:01:48 UTC
*** Bug 184582 has been marked as a duplicate of this bug. ***
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-07-08 15:02:25 UTC
Reopening to mark as RESOLVED UPSTREAM.