473,569 Members | 2,617 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 2406
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,ta hiti 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>j avac MyHelloAglet.ja va

MyHelloAglet.ja va:7: package com.ibm.aglet does not exist

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

^

MyHelloAglet.ja va:8: package com.ibm.aglet.e vent does not exist

import com.ibm.aglet.e vent.*; //import aglet events package

^

MyHelloAglet.ja va:10: cannot resolve symbol

symbol : class Aglet

location: class MyHelloAglet

public class MyHelloAglet extends Aglet{

^

MyHelloAglet.ja va:14: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.prin tln("Hello Context: "+getAgletConte xt());

^

MyHelloAglet.ja va:15: cannot resolve symbol

symbol : method setText (java.lang.Stri ng)

location: class MyHelloAglet

setText("Greeti ngs ...");

^

MyHelloAglet.ja va:19: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.prin tln("I am running...Mr. Context: "+getAgletConte x

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,ta hiti 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>j avac MyHelloAglet.ja va

MyHelloAglet.ja va:7: package com.ibm.aglet does not exist

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

^

MyHelloAglet.ja va:8: package com.ibm.aglet.e vent does not exist

import com.ibm.aglet.e vent.*; //import aglet events package

^

MyHelloAglet.ja va:10: cannot resolve symbol

symbol : class Aglet

location: class MyHelloAglet

public class MyHelloAglet extends Aglet{

^

MyHelloAglet.ja va:14: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.prin tln("Hello Context: "+getAgletConte xt());

^

MyHelloAglet.ja va:15: cannot resolve symbol

symbol : method setText (java.lang.Stri ng)

location: class MyHelloAglet

setText("Greeti ngs ...");

^

MyHelloAglet.ja va:19: cannot resolve symbol

symbol : method getAgletContext ()

location: class MyHelloAglet

System.out.prin tln("I am running...Mr. Context: "+getAgletConte x

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
2806
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 users (all, or some) can "reach" java? eg one could presumably create a java.sh or aliases ... Where is the standard Linux directory to put such a...
0
2365
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 Segmentation fault /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=/var/lib/mysql --skip-innodb --skip-bdb Installation of...
6
2285
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 free of Microsoft stigma, and of constant lockdown on Microsoft products. The world is better than that. - Linux runs .NET :-) Reverse engineers in...
1
8083
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 catalog as a post installation task I get some java error. $ db2 CREATE TOOLS CATALOG SYSTOOLS USE EXISTING DATABASE TOOLSDB FORCE SQL22209N The...
0
4524
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 Express Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other IBM...
5
5670
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
1219
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: java.security.AccessControlException: access denied (java.net.SocketPer mission 127.0.0.1:3306 connect,resolve) STACKTRACE: java.net.SocketException:...
1
2601
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 Linux gains increasing acceptance in corporate datacenters and
0
7701
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.