Skip to main content



      Home
Home » Newcomers » Newcomers » Running options
Running options [message #246410] Tue, 22 January 2008 13:24 Go to next message
Eclipse UserFriend
Originally posted by: gerardo.corro.mundivia.net

Hi all,

I'm developing a project with eclipse, when running my IBatis DAO inside
eclipse (Run as Java application) I get very fast responses to get my DTOs
filled (a few seconds). The only settings I put in the Run window is
inside the 'VM arguments' section and they are:

-Xms256m
-Xmx512m

However, when I build my jars and run them in a DOS console like:

java -Xms256m -Xmx512m -cp %LOCALCLASSPATH% com.mycom.TestMyDao

some queries are very slow, even three minutes to see them completed.

I use the same SDK in order to compile and run my program inside Eclipse
and also in the command line execution.

So, the question is: How can I see the whole bunch of options that Eclipse
injects to my project when executing it? I would like to copy the whole
thing and use it for my .bat script.

Please assist. Thanks!
Re: Running options [message #246429 is a reply to message #246410] Tue, 22 January 2008 14:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Gerardo wrote:
> Hi all,
>
> I'm developing a project with eclipse, when running my IBatis DAO inside
> eclipse (Run as Java application) I get very fast responses to get my
> DTOs filled (a few seconds). The only settings I put in the Run window
> is inside the 'VM arguments' section and they are:
>
> -Xms256m
> -Xmx512m
>
> However, when I build my jars and run them in a DOS console like:
>
> java -Xms256m -Xmx512m -cp %LOCALCLASSPATH% com.mycom.TestMyDao
>
> some queries are very slow, even three minutes to see them completed.
>
> I use the same SDK in order to compile and run my program inside Eclipse
> and also in the command line execution.
>
> So, the question is: How can I see the whole bunch of options that
> Eclipse injects to my project when executing it? I would like to copy
> the whole thing and use it for my .bat script.

In the Debug view, right-click on the Main method of your application
while it is running and choose Properties. There you can see the command
line that was used to launch the app.

Hope this helps,
Eric
Re: Running options [message #246471 is a reply to message #246429] Wed, 23 January 2008 04:42 Go to previous message
Eclipse UserFriend
Originally posted by: gerardo.corro.mundivia.net

Just what I was looking for!

TX!!!
Previous Topic:gui builder
Next Topic:Where should I place a class library?
Goto Forum:
  


Current Time: Mon Jul 14 08:15:58 EDT 2025

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

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

Back to the top