I'm not sure what you mean, but if you are using (for instance) the bash shell,
MYENVIRONMENTVAR="stuff"
export MYENVIRONMENTVAR
In C you'd read the environment variable something like this:
#include <stdlib.h>
char *myenvvar;
myenvvar= getenv("MYENVIRONMENTVAR");
print ("My variable= %s",myenvvar);
This tech tip explains how to do the same thing in Java:
http://java.sun.com/developer/JDCTechTips/2001/tt1204.html
I would like to use one varable in one application and use it in a varable in a nother application is there a way?
Thank you for give that other information to me.
application 1 code example:
public string Text()
{
String text = String.phrasStr(text.getText());
}
application 2 I would like text String In it.