while installing aglets under linux platform i receive an error as java environment variable not set.... what is the reason behind that error .....
6 2401
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,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
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.
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...
|
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...
|
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...
|
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...
|
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...
| |
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:...
|
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...
|
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,...
|
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...
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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...
| |