while installing aglets under linux platform i receive an error as java environment variable not set.... what is the reason behind that error .....
6 2406
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.
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 ....
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.
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...
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
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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...
|
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...
|
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...
|
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...
| |
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
|
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:...
|
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
|
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...
|
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...
|
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. ...
| |
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |