Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-18-2006
rc_hz rc_hz is offline
Registered User
 
Name: Eric RC
Organization: www.genband.com
Project: No project yet
 
Join Date: Jul 2004
Location: Hangzhou, China
Posts: 189
Send a message via MSN to rc_hz
-->
Question about ICE_CONFIG environment variable in Ice for java ?

For C++, Python and .NET, Ice can use ICE_CONFIG environment variable to get information. However, as Ice 3.1.0 manul says:
Code:
The environment variable is not read by the Java run time; with Java, you must use the
--Ice.Config property to set the name of the configuration file (see Section 28.5).
Is there any reason for this ?
__________________
Eric RC
www.genband.com (telecommunication)
I like ICE (Ice for C++/Java/Python)
Reply With Quote
  #2 (permalink)  
Old 09-18-2006
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,052
This is a general restriction. There is no way for Java apps to read environment variables.
Reply With Quote
  #3 (permalink)  
Old 09-18-2006
rc_hz rc_hz is offline
Registered User
 
Name: Eric RC
Organization: www.genband.com
Project: No project yet
 
Join Date: Jul 2004
Location: Hangzhou, China
Posts: 189
Send a message via MSN to rc_hz
-->
For jdk1.5, it's OK now!

http://www.rgagnon.com/javadetails/java-0466.html
__________________
Eric RC
www.genband.com (telecommunication)
I like ICE (Ice for C++/Java/Python)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment variables for java IceBoxin IceGrid Sameerrele Help Center 4 10-10-2006 06:24 PM
Static function variable in multithread applications Alexey Bug Reports 9 07-14-2006 12:30 PM
Using underscores in Slice variable names. ctennis Help Center 2 04-18-2006 02:17 PM
C# warning CS0219: The variable 'myId' is assigned... kovacm Help Center 2 05-18-2005 12:31 PM
Undefined make variable conflicting with environment ashar Bug Reports 1 07-24-2003 04:14 PM


All times are GMT -4. The time now is 07:31 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.