Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Standalone help problems
Standalone help problems [message #673456] Mon, 23 May 2011 17:20 Go to next message
Eclipse UserFriend
Originally posted by: Sean Payne

Greetings! I'm having a bit of a problem that I'm hoping someone here
might be able to help me with. I have an Eclipse RCP product exported
and installed to a user's system with the following directory structure:
C:\Program Files\CompanyName\ProductName\VersionTag\rcp\
-.eclipseproduct
-productLauncher.exe
-productLauncher.ini
+-configuration\
+-features\
+-jre\
+-plugins\

I want to create a shortcut to start the help in the product and have
been trying the following on a command line to test but have been met
with the following exception messages:
C:\Program Files\CompanyName\ProductName\VersionTag\rcp> jre\bin\java
-classpath plugins\org.eclipse.help.base_3.5.3.v021102101200.jar
org.eclipse.help.standalone.Help -command displayHelp -data
"%USERPROFILE%\Application Data\CompanyName\ProductName\workspace"

java.lang.Exception: File C:\Program
Files\CompanyName\ProductName\VersionTag\rcp\eclipse.exe does not
exists. Pass a correct -eclipsehome option
at
org.eclipse.help.internal.standalone.Eclipse.ensureEclipseExeExists(E
clipse.java:168)
at
org.eclipse.help.internal.standalone.Eclipse.prepareCommand(Eclipse.j
ava:46)
at
org.eclipse.help.internal.standalone.Eclipse.run(Eclipse.java:87)

Since the launcher name has been customized in my rcp .product file, I
am unsure of how to overcome this problem.
Re: Standalone help problems [message #673792 is a reply to message #673456] Tue, 24 May 2011 18:36 Go to previous messageGo to next message
Pierre Candela is currently offline Pierre CandelaFriend
Messages: 23
Registered: July 2009
Junior Member
Hi Sean,
it's a known Eclipse bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=135215

As a workaround, you can add the -noexec flag to your command line:
http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/ua_help_setup_infocenter.htm

Pierre

On 5/23/2011 7:20 PM, Sean Payne wrote:
> Greetings! I'm having a bit of a problem that I'm hoping someone here
> might be able to help me with. I have an Eclipse RCP product exported
> and installed to a user's system with the following directory structure:
> C:\Program Files\CompanyName\ProductName\VersionTag\rcp\
> -.eclipseproduct
> -productLauncher.exe
> -productLauncher.ini
> +-configuration\
> +-features\
> +-jre\
> +-plugins\
>
> I want to create a shortcut to start the help in the product and have
> been trying the following on a command line to test but have been met
> with the following exception messages:
> C:\Program Files\CompanyName\ProductName\VersionTag\rcp> jre\bin\java
> -classpath plugins\org.eclipse.help.base_3.5.3.v021102101200.jar
> org.eclipse.help.standalone.Help -command displayHelp -data
> "%USERPROFILE%\Application Data\CompanyName\ProductName\workspace"
>
> java.lang.Exception: File C:\Program
> Files\CompanyName\ProductName\VersionTag\rcp\eclipse.exe does not
> exists. Pass a correct -eclipsehome option
> at org.eclipse.help.internal.standalone.Eclipse.ensureEclipseExeExists(E
> clipse.java:168)
> at org.eclipse.help.internal.standalone.Eclipse.prepareCommand(Eclipse.j
> ava:46)
> at org.eclipse.help.internal.standalone.Eclipse.run(Eclipse.java:87)
>
> Since the launcher name has been customized in my rcp .product file, I
> am unsure of how to overcome this problem.
Re: Standalone help problems [message #675497 is a reply to message #673792] Tue, 31 May 2011 17:08 Go to previous message
Eclipse UserFriend
Originally posted by: Sean Payne

Thanks for your help!

On 5/24/2011 11:36 AM, Pierre Candela wrote:
> Hi Sean,
> it's a known Eclipse bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=135215
>
> As a workaround, you can add the -noexec flag to your command line:
> http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/ua_help_setup_infocenter.htm
>
>
> Pierre
>
> On 5/23/2011 7:20 PM, Sean Payne wrote:
>> Greetings! I'm having a bit of a problem that I'm hoping someone here
>> might be able to help me with. I have an Eclipse RCP product exported
>> and installed to a user's system with the following directory structure:
>> C:\Program Files\CompanyName\ProductName\VersionTag\rcp\
>> -.eclipseproduct
>> -productLauncher.exe
>> -productLauncher.ini
>> +-configuration\
>> +-features\
>> +-jre\
>> +-plugins\
>>
>> I want to create a shortcut to start the help in the product and have
>> been trying the following on a command line to test but have been met
>> with the following exception messages:
>> C:\Program Files\CompanyName\ProductName\VersionTag\rcp> jre\bin\java
>> -classpath plugins\org.eclipse.help.base_3.5.3.v021102101200.jar
>> org.eclipse.help.standalone.Help -command displayHelp -data
>> "%USERPROFILE%\Application Data\CompanyName\ProductName\workspace"
>>
>> java.lang.Exception: File C:\Program
>> Files\CompanyName\ProductName\VersionTag\rcp\eclipse.exe does not
>> exists. Pass a correct -eclipsehome option
>> at org.eclipse.help.internal.standalone.Eclipse.ensureEclipseExeExists(E
>> clipse.java:168)
>> at org.eclipse.help.internal.standalone.Eclipse.prepareCommand(Eclipse.j
>> ava:46)
>> at org.eclipse.help.internal.standalone.Eclipse.run(Eclipse.java:87)
>>
>> Since the launcher name has been customized in my rcp .product file, I
>> am unsure of how to overcome this problem.
>
Previous Topic:Error deploying java application with a war embedded with jetty
Next Topic:How to use org.eclipse.ui.decorators location=REPLACE?
Goto Forum:
  


Current Time: Sat Apr 27 02:09:16 GMT 2024

Powered by FUDForum. Page generated in 0.02615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top