Argh! Can't get java files to compile!
dinkman
Posts: 4
Okay, I am a newbie in every sense of the word. I have not programmed java since the freshman year of my bachelors and I am new to·the Javelin Stamp.
I am trying to get some sample code running on this stamp so that I can start dissecting things and figuring some stuff out.·I have downloaded ...
AN014
http://www.parallax.com/javelin/applications.asp#AN014
... I ma trying to get this to compile and it just will not go. The program cannot find the class it depends upon. I tried uncommenting the "import" statement in the AmuletProtocol.java file. Didn't help. I tried moving the files around, adding C:\Program Files\Parallax Inc\Javelin Stamp IDE\Projects\examples\manual_v1_0 to the classpath, nothing is seeming to work for me.
Can anyone get this dern thing to compile?
Any help is much appreciated.
Will
I am trying to get some sample code running on this stamp so that I can start dissecting things and figuring some stuff out.·I have downloaded ...
AN014
http://www.parallax.com/javelin/applications.asp#AN014
... I ma trying to get this to compile and it just will not go. The program cannot find the class it depends upon. I tried uncommenting the "import" statement in the AmuletProtocol.java file. Didn't help. I tried moving the files around, adding C:\Program Files\Parallax Inc\Javelin Stamp IDE\Projects\examples\manual_v1_0 to the classpath, nothing is seeming to work for me.
Can anyone get this dern thing to compile?
Any help is much appreciated.
Will
Comments
·· Did you follow the instructions about making sure the files inside the zip were extracted into the proper folder/directory?· They have to be in the right spot or it won't work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
AmuletProtocol.java resides in:
C:\Program Files\Parallax Inc\Javelin Stamp IDE\Projects
and AmuletPool.java in:
C:\Program Files\Parallax Inc\Javelin Stamp IDE\Projects\examples\manual_v1_0
The second, per the download instructions.
....\Javelin Stamp IDE\Projects\examples\manual_v1_0
uncomment the import line in file AmuletProtocol.java
regards peter
·
[noparse][[/noparse]Java Error] AmuletProtocol.java[noparse][[/noparse]54]: Error: Type AmuletPool was not found
and everything compiles ok. Try downloading and unzipping again.
If that fails, try downloading the latest IDE (2.0.3).
It does compile.
regards peter
I updated the IDE to 2.0.3, the same problem persists!
I think I will try using the command line compiler directly, as I heard about in another post.