| Author |
Problem with sourceforge project
|
Dan Dales
Greenhorn
Joined: Jul 20, 2011
Posts: 8
|
|
hai,
i'm doing my proj in tahiti server for remote data retrieval & i encountered errors when i run the sample program that is given in the sorceforge website.
First, i got the sample code below:
package myfirst;
import com.ibm.aglet.*;
public class MyAglet extends Aglet {
public void run() {
System.out.println("Hello, world!");
setText("you can see this in the Tahiti window");
}
}
secondly i created a batch file called makeit with the content:
set JDK_HOME=C:\jdk1.3.1_06
set AGLET_HOME=C:\aglets-2.0.1
set CLASSPATH=%CLASSPATH%;%AGLET_HOME%\lib\aglets-2.0.1.jar
set CLASSPATH=%CLASSPATH%;%AGLET_HOME%\public
%JDK_HOME%\bin\javac -d %AGLET_HOME%\public -classpath %CLASSPATH% MyAglet.java
thirdly i tried to compile the aglet by running the batch file but it is throwing the following errors
C:\myfirst>makeit
C:\myfirst>set JDK_HOME=C:\jdk1.3.1_06
C:\myfirst>set AGLET_HOME=C:\aglets-2.0.1
C:\myfirst>set CLASSPATH=;C:\aglets-2.0.1\lib\aglets-2.0.1
C:\myfirst>set CLASSPATH=;C:\aglets-2.0.1\lib\aglets-2.0.1
ublic
C:\myfirst>C:\jdk1.3.1_06\bin\javac -d C:\aglets-2.0.1\pub
ets-2.0.1\lib\aglets-2.0.1.jar;C:\aglets-2.0.1\public MyAg
MyAglet.java:3: cannot resolve symbol
symbol : class Aglet
location: class myfirst.MyAglet
public class MyAglet extends Aglet {
^
MyAglet.java:6: cannot resolve symbol
symbol : method setText (java.lang.String)
location: class myfirst.MyAglet
setText("you can see this in the Tahiti window");
^
2 errors
C:\myfirst>
I am new to this technology. Please can someone help me out?
Hoping to hear from you soon
thanks.
|
 |
 |
|
|
subject: Problem with sourceforge project
|
|
|