File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Problem with sourceforge project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Problem with sourceforge project" Watch "Problem with sourceforge project" New topic

Problem with sourceforge project

Dan Dales

Joined: Jul 20, 2011
Posts: 8

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;
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
%JDK_HOME%\bin\javac -d %AGLET_HOME%\public -classpath %CLASSPATH%

thirdly i tried to compile the aglet by running the batch file but it is throwing the following errors

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

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 cannot resolve symbol
symbol : class Aglet
location: class myfirst.MyAglet
public class MyAglet extends Aglet {
^ cannot resolve symbol
symbol : method setText (java.lang.String)
location: class myfirst.MyAglet
setText("you can see this in the Tahiti window");
2 errors


I am new to this technology. Please can someone help me out?

Hoping to hear from you soon
I agree. Here's the link:
subject: Problem with sourceforge project
jQuery in Action, 3rd edition