*
The moose likes Java in General and the fly likes System property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "System property" Watch "System property" New topic
Author

System property

Ann Sebastian
Ranch Hand

Joined: Sep 21, 2005
Posts: 37
I need to set a property other than System.java properties and get them.Can this be done using System.getProperty and System.setProperty
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780


There is no emoticon for what I am feeling!
Ann Sebastian
Ranch Hand

Joined: Sep 21, 2005
Posts: 37
Jeff,
I guess the previous code sets the property related to java.
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Now I'm confused. Are you asking how to set shell-level environment variables?

ps. If you are using the current version of Java, Sytem has a method that
let's you access environment variables:
[ November 14, 2005: Message edited by: Jeff Albrechtsen ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System property
 
Similar Threads
Dynamically moving the DIV
Table mapping problem
jsp:setProperty stand action and its body
second-hand simulator.
jquery datepicker not working