Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

Need help with Run Time Settings in Eclipse "-Djava"

Thread view: 
research.gade@gmail.com - 15 Oct 2006 04:25 GMT
Hi all,
I am using Eclipse  for some of my Operations Research applications and
I need some help with setting path to a linked library. I need use the
following:
-Djava.library.path= <some linked library> followed by command line
arguments.

I was using MSDOS to type in my runtime commands. I am new to eclipse
and have'nt been able to figure this out.
Any help will be greatly appreciated.
-Thanks
Joe
Manish Pandit - 15 Oct 2006 06:56 GMT
Hi Joe,

With your runnable file in the editor window, right click to get the
context menu. From that, select Run As->Run. A window will appear. In
that, you sould see a second tab that says Arguments. You can set the
java.library.path (-Djava.library.path=value) under VM arguments, and
use the Program Arguments section for your command line args.

-cheers,
Manish
research.gade@gmail.com - 15 Oct 2006 18:40 GMT
It works!!!
Thank you very much.
-Joe
> Hi Joe,
>
[quoted text clipped - 6 lines]
> -cheers,
> Manish
Flemmo - 15 Oct 2006 07:01 GMT
> Hi all,
> I am using Eclipse  for some of my Operations Research applications and
[quoted text clipped - 8 lines]
> -Thanks
> Joe

Joe,

You need to run eclipse with the -vmargs -Djava.library.path=... command
line option.  See eclipse help for details.

http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.user/ta
sks/running_eclipse.htm


HTH,
Pete


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.