View Single Post
Old 07-01-2012, 04:38 PM   #60
digory
Enthusiast
digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!digory is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
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.

Last edited by digory; 07-01-2012 at 04:41 PM.
digory is offline   Reply With Quote