Question

I have class with main method just to print "Hello World" when trying to execute I am getting exception as ClassNotFoundException.

I have another class with main method but invokes a WebService I am getting the "Internal error" as attached image and when clicked on Yes button RAD need to be closed.

Please help me how do I set any classpath or any other parameters. Please as well let me know if any more details I need to provide.

enter image description here

UPDATE copying eclipse.ini file.

-vm D:\Program Files\IBM\SDP\jdk\jre\bin\javaw.exe -startup plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -install D:\Program Files\IBM\SDP --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731 -vmargs -Xquickstart -Xms40m -Xmx1024m -Xmnx64m -Xgcpolicy:gencon -Xscmx96m -Xshareclasses:name=IBMSDP_%u -Xnolinenumbers -XX:MaxPermSize=128M -Dcom.ibm.ws.management.event.max_polling_interval=1000

Was it helpful?

Solution

RAD is really a memory hog. You should be running on a PC with at least 2 GB ram, 4 is preferable. Give RAD as much as you can via the eclipse.ini file such as below.

-vmargs
-Xms256m
-Xmx2048m

I would recommend against using RAD anyway. Unless you're using RUP or WebSphere development and absolutely have to use it, I'd go with plain old Eclipse. RAD is just too bloated... If this doesn't solve your problem post your .log file, and eclipse.ini file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top