Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-29-2004
anitha anitha is offline
Registered User
 
 
Join Date: Sep 2004
Posts: 4
Need help with Ice Installation

Hi,

Iam a college student.. i am in the process of learning Ice. I started the Ice installation for Java in Linux environment. I downloaded both IceJ-1.5.1 and Ice-1.5.1 and then added Ice-1.5.1/bin and IceJ-1.5.1/lib/Ice.jar to the classpath. When i was trying to create the sample application from the pdf document, it says slice2java: command not found. where is my mistake?
Reply With Quote
  #2 (permalink)  
Old 09-29-2004
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,541
Welcome to the forums! You need to add Ice-1.5.1/bin to your PATH environment variable, not the CLASSPATH environment variable.

Benoit.
Reply With Quote
  #3 (permalink)  
Old 09-30-2004
anitha anitha is offline
Registered User
 
 
Join Date: Sep 2004
Posts: 4
Thanks Ms Benoit,

I downloaded IceJ-1.5.1 and Ice-1.5.1 and added Ice-1.5.1/bin to the PATH variable. What else should i do to run the sample demo/Ice/hello application. what has to be added to the classpath?

i get the following error when i run
\IceJ-1.5.1\demo\Ice\hello\classes>java Server

Exception in thread "main" java.lang.NoClassDefFoundError: Ice/Object

Please help me to run the existing sample compiled application before i create my own application

Thanks again
Anitha
Reply With Quote
  #4 (permalink)  
Old 09-30-2004
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,541
Take a look at the instructions in the IceJ-1.5.1/INSTALL file, you need to add IceJ-15.1/lib/Ice.jar to your CLASSPATH to be able to run the demos.

Benoit.
Reply With Quote
  #5 (permalink)  
Old 10-14-2004
anitha anitha is offline
Registered User
 
 
Join Date: Sep 2004
Posts: 4
Slice2java

Thanks Ms Benoit.. i got that right now.. but I get the following error when i use the slice2java command.. what could be my problem?

slice2java: error while loading shared libraries: libSlice.so.15: cannot open shared object file: No such file or directory
Reply With Quote
  #6 (permalink)  
Old 09-04-2005
surfer surfer is offline
Registered User
 
 
Join Date: Jun 2005
Location: Germany
Posts: 38
Thumbs up Just for others to understand it.

Hello,
just for others to set up the FC3 Ice:


/home/.bash_profile
Code:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
export ANT_HOME=/usr/local/apache-ant-1.6.5
export PATH=${PATH}:${ANT_HOME}/bin
export JAVA_HOME=/usr/java/jdk1.5.0_04
export PATH=${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/lib
# export ICE_HOME=/usr/share/slice
export ICE_HOME=/usr
export CLASSPATH=/usr/java/jdk1.5.0_04/lib/tools.jar:/usr/java/jdk1.5.0_04/lib/dt.jar:.:/usr/java/jdk1.5.0_04:classes:/usr/lib/Ice-2.1.2/Ice.jar

Greetings
surfer
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
RPM installation of IceE Andreas Scherer Comments 3 05-12-2007 09:31 AM
ICE installation for VS 2005 Alex Goldobin Help Center 1 12-13-2005 06:06 AM
RH AS3 Installation amorlupi Help Center 3 11-11-2005 11:02 AM
Installation of Ice stephan Help Center 1 05-20-2005 06:35 AM
Installation problem yserge Help Center 2 03-16-2004 08:16 PM


All times are GMT -4. The time now is 09:07 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.