Tuesday, 25 June 2013

Java was started but returned exit code=13

Java was started but returned exit code=13

Cause of the Error :

This error mainly comes due when you execute the build of the Eclipse RCP.

Here I ‘m providing the probable solution to resolve this error.


This error mainly comes when there is error in the "Product Configuration".
So when this kind of error comes, try to create new "Product Configuration" and re generate the build of it.
Here are the steps to create the new "Product Configuration". Follow all the steps and generate the new Build and then try and check if it works ok or not.

How to Create new "Product Configuration" ?




Right click on project name, then select “New” -> “Other…”




Select “Plug-in Development” -> “Product Configuration”


Enter “File name:”


 



Select your project in “use an existing product:”






Click on Finish

 


Open “Dependencies” and click on “Add Required Plug-ins”



Right click on the project name and select “Export…”



Select “Plug-in Development” -> “Eclipse product”



Enter directory path in the “Directory” field


 

Tuesday, 4 June 2013

how to install window builder in eclipse ?



Before we start working on Eclipse RCP we required the Window builder. Windows builder is not necessary to create the Eclipse RCP application. Using Windowbuilder, designing the RCP application will be more easy and comfortable, so Here I explain the steps to install Window Builder inEclipse environment. It is very easy to add Windw builder plug-in in it. Following are the steps.
Goto “help” -> “Install New Software…”




Enter following URLs as per the version of the Eclipse :
Eclipse 3.7 (Indigo)
http://dl.google.com/eclipse/inst/d2wbpro/latest/3.7


Eclipse 3.6 (Helios)
http://dl.google.com/eclipse/inst/d2wbpro/latest/3.6


Eclipse 3.5 (Galileo)
http://dl.google.com/eclipse/inst/d2wbpro/latest/3.5



Click on “Next”



Click on “Next”


Select radio button for “I accept the terms of the license agreements”.
Click on Finish.
At the end (after installation completes), it will ask to restart the Eclipse. Click on Restart option and when it will start again, Window Builder will be there in the Eclipse environment.

How to check, the Window Builder is installed or not?
Right click on any Java file. Go to “Open With”. A Menu will appear, there you can see the option ”WindowBuilder Editor”.




It shows that Window Builder is successfully installed.

Following Books are good to Refer :

Monday, 3 June 2013

Bad : modifier in $ (/)

Error : Bad : modifier in $ (/)

Error occurrence :

$> setenv PATH $PATH:/data/data12/harikr/data45/

Bad : modifier in $ (/).

Solution :
$> setenv PATH ${PATH}:/data/data12/harikr/data45