Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Monday, 4 November 2013

The "Reference" reference is not defined by the implementation. #Solving #SCA #RSA #RDA

when you are trying to make a components and composites in SCA using RAD ,

you will found that there are an error due to the naming in Reference in the compost file.


Sunday, 3 November 2013

how to add “Server view” in Eclipse / RSA Rational Software Architect ?

I had installed my RSA 

while I was working , I wanted to configure my web-sphere server , so I searched over to Server view "windows --> show view --> servers"

and they didn't show up !!


Wednesday, 30 October 2013

How to configure proxy settings in eclipse

Often times, Eclipse IDE may need access to the Internet for some plugins install and update. If your computer is behind a proxy server

then you need to handle the proxy of in the Eclipse to go throw the internet


Thursday, 18 July 2013

How to make a jar file ? #java #net-beans #eclipse #batch file #Windows

In this post, you will know how to create a jar file using net-beans , Eclipse and using ant scripts in easy and straightforward way.

Net-beans.

Step 1: you had to right click on the project 
Step 2: Click Clean and Build.
Step 3: check out the Jar that already created under the project folder (./dist)

PS. to change the entry man class. choose it and edit in MANIFEST.MF       
    Main-Class: package.MainClass

OR 

change the Build.xml  and add below tag.

<manifest file="MANIFEST.MF">
    <attribute name="Main-Class" value="package.MainClass" />
</manifest>


Monday, 24 June 2013

OutOfMemoryErrors - java


Some JVMs (Java virtual  machine) put restrictions on the total amount of memory available on the heap. 

If you are getting OutOfMemoryErrors while running Eclipse, the VM can be told to let the heap grow to a larger amount by passing the -vmargs command to the Eclipse launcher. 
eclipse [normal arguments] -vmargs -Xmx256M [more VM args]

You can put the extra memory while initialising the Eclipse by opening  the file  eclipse.ini.
and change the value of Xms512m
Here is an example;

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms512m

-Xmx1024m

-XX:+UseParallelGC -XX:PermSize=256M -XX:MaxPermSize=512M



  • If the problem is while running a special Test-Case or  Running the project you can increase the reserved memory from JVM by a memory by:

Right click --> Run As --> Run Configurations then click on second tap (x= arguments)
and add -Xmx512M in VM arguments,
               

Best Of luck.

Sunday, 23 June 2013

Add Swing plugin to Eclipse.

To add the swing plugin for easy buildup your Desktop GUI using Eclipse


 Just follow these tips:

  1. Open your "Eclipse " .
  2. Go to "Help" tab.
  3. Click in "Install new Software..."
  4. A new window will appear, in the field "type or select a site" put: "http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2" and press "Enter".
  5. Select all available updates and click "Next".
  6. Now just proceed the installation. Later you will need restart the Eclipse. Do that.
enjoy :)