Hi there. I'm trying to get the HelloWorld to work. So far I've copied the jars and have the following directory structure:
- lib/ - lotsa jars, including Kindlet-2.1.jar
- sdk/
---- lib/ - more jars
- HelloWorld/
---- Main.java
---- Main.manifest
Now if I do:
cd HelloWorld
javac -classpath ../lib/Kindlet-2.1.jar Main.java
I get:
Main.java:5: cannot find symbol
symbol : class KTextArea
location: package com.amazon.kindle.kindlet.ui
import com.amazon.kindle.kindlet.ui.KTextArea;
-----------------------------------------^
Main.java:17: cannot find symbol
symbol : class KTextArea
location: class test.Main
ctx.getRootContainer().add(new KTextArea("Hello World!"));
---------------------------------------^
I tried including ../lib/kafui.jar in the classpath also (because it has ui in the name), and others:
javac -classpath ../lib/Kindlet-2.1.jar:../lib/kafui.jar:../lib/utilities.jar:../KindletImplementation.jar Main.java
but to no avail.
Apparently the class KTextArea is gone in 2.1???
EDIT: Added dashes--- because this editor does not preserve the formatting.