File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
System.getProperty - Different JVM's
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
posted
Jul 27, 2012 07:53:28
0
How to set and get values using System.setProperty() and System.getProperty(). setProperty() and getProperty in two different classes in two differeent JVMs.
Tushar Kapila
Ranch Hand
Joined: Dec 23, 2007
Posts: 35
I like...
posted
Jul 27, 2012 09:03:05
0
* do you have a list of properties that you want to load in to both jvms?
can load them from a
java
properties file and add them to the system properties
* do you want to send a new property added in jvm 1 to jvm 2?
http://thehungersite.com
|
http://www.worldcommunitygrid.org/
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
posted
Jul 27, 2012 10:33:42
0
* do you want to send a new property added in jvm 1 to jvm 2?
How to send a new property added in jvm 1 to jvm 2?
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
posted
Aug 27, 2012 23:54:08
0
Any reply ?
Ivan Jozsef Balazs
Ranch Hand
Joined: May 22, 2012
Posts: 380
posted
Aug 30, 2012 08:42:53
0
It won't work directly on the System property level, you could devise a custom interprocess-communication way.
You could listen on a socket on the second JVM and accept and interpret messages triggering setting of the System properties.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: System.getProperty - Different JVM's
Similar Threads
command line jar parameters
os
path of db.db
Environment Variable!!
WorkingDirectory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter