473,508 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aglets in linux

4 New Member
while installing aglets under linux platform i receive an error as java environment variable not set.... what is the reason behind that error .....
Jan 5 '08 #1
6 2401
chaarmann
785 Recognized Expert Contributor
while installing aglets under linux platform i receive an error as java environment variable not set.... what is the reason behind that error .....
I don't know what "aglets" are, but a lot of programs needs the java environment variables set.
Just look at your environment in your shell (type "env" if you use ksh) and see if JAVA_HOME is set to the directory where you installed Java.
Jan 5 '08 #2
mons
4 New Member
I don't know what "aglets" are, but a lot of programs needs the java environment variables set.
Just look at your environment in your shell (type "env" if you use ksh) and see if JAVA_HOME is set to the directory where you installed Java.

In my system JAVA_HOME =/root, and i have installed java in my root directory only ,,, but again the error occurs ....
Jan 8 '08 #3
r035198x
13,262 MVP
In my system JAVA_HOME =/root, and i have installed java in my root directory only ,,, but again the error occurs ....
Point it to your JDK folder not to your root folder.
Jan 8 '08 #4
mons
4 New Member
Point it to your JDK folder not to your root folder.
ok thanks a lot , my error have been cleared ,,,,,,
thanks a lot for ur Suggestion...
Jan 9 '08 #5
mons
4 New Member
We have installed aglets-2.0.2.jar successfully,tahiti window also appeared but we couldn run any of our built-in programs .

The following error occurs when i compile my program

D:\Java\aglets\public\Hello1>javac MyHelloAglet.java

MyHelloAglet.java:7: package com.ibm.aglet does not exist

import com.ibm.aglet.*; //import aglet package

^

MyHelloAglet.java:8: package com.ibm.aglet.event does not exist

import com.ibm.aglet.event.*; //import aglet events package

^

MyHelloAglet.java:10: cannot resolve symbol

symbol : class Aglet

location: class MyHelloAglet

public class MyHelloAglet extends Aglet{

^

MyHelloAglet.java:14: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.println("Hello Context: "+getAgletContext());

^

MyHelloAglet.java:15: cannot resolve symbol

symbol : method setText (java.lang.String)

location: class MyHelloAglet

setText("Greetings ...");

^

MyHelloAglet.java:19: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.println("I am running...Mr. Context: "+getAgletContex

t());

^

6 errors


I would be thankful if u send reply for my post soon
Feb 9 '08 #6
r035198x
13,262 MVP
We have installed aglets-2.0.2.jar successfully,tahiti window also appeared but we couldn run any of our built-in programs .

The following error occurs when i compile my program

D:\Java\aglets\public\Hello1>javac MyHelloAglet.java

MyHelloAglet.java:7: package com.ibm.aglet does not exist

import com.ibm.aglet.*; //import aglet package

^

MyHelloAglet.java:8: package com.ibm.aglet.event does not exist

import com.ibm.aglet.event.*; //import aglet events package

^

MyHelloAglet.java:10: cannot resolve symbol

symbol : class Aglet

location: class MyHelloAglet

public class MyHelloAglet extends Aglet{

^

MyHelloAglet.java:14: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.println("Hello Context: "+getAgletContext());

^

MyHelloAglet.java:15: cannot resolve symbol

symbol : method setText (java.lang.String)

location: class MyHelloAglet

setText("Greetings ...");

^

MyHelloAglet.java:19: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.println("I am running...Mr. Context: "+getAgletContex

t());

^

6 errors


I would be thankful if u send reply for my post soon
Where did you put the aglets-2.0.2.jar file? You need to have it in your classes's classpath.
Feb 9 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2801
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure...
0
2363
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690...
6
2274
by: gnu | last post by:
Rationale to use Linux ======================= - I can't afford paying for $199 for the license of an OS that's arguably better thank Linux for each of 10 computers I have. - I want to be...
1
8076
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
0
4512
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
5
5657
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
0
1207
by: yksoni | last post by:
we are working in IBM aglets 2.0.2 with mysql 4.0.2. When we try to access database through tahiti server i.e.aglets we get following error. java.net.SocketException MESSAGE:...
1
2590
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7382
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7495
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5052
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.