Jikes Compiler - iPhone
Hello all. I recently instaled a Java compiler called Jikes on my iPhone. Works pretty well, can write simple "println" programs using the built-in text editor. However, I can not write programs to get input from the user. I tried using Scanner and BufferedReader, but no luck. Does anyone have any idea if it's possible to actually put a Scanner.jar file in the iPhone and make it work?
how did you install it on your iphone?
I have a jailbroken iPhone 3GS and installed it via Cydia.
Originally Posted by Hello World
All I want to do is be able to write programs where I can get input from the user. I guess, in the long run it's no big deal, as I also have Python installed and it works flawlessly, but I would like the Java issue to be resolved as I know more Java than Python.
I have gotten able to run it using BufferedReader, lang and util packages and it compiles perfectly, but when I go to run it, it gives me an error with a package. Can someone help me with this? I really want to be able to make user-input programs.
Hear is the code I have:
Here is a link to the picture of the error: