paolyn1106 / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

No JAR Files specified. #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create simple HelloWorld.java
2. javac HelloWorld.java - works
3. java HelloWorld (or even java -version)

What is the expected output? 
Hello World

What do you see instead?
InvocationException: No JAR Files specified.

I did a search for jars.  I found one called 
./files/system/src/classes/android.jar

I did CLASSPATH=./files/system/src/classes/android.jar

That didn't seem to do it.

Is there some other install I need to do to get an rt.jar and classpath setup?

What version of the product are you using? On what operating system?
1.7
Honeycomb 3.2.1

Please provide any additional information below.

Original issue reported on code.google.com by Pytholog...@gmail.com on 3 Jan 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Ok.  Never mind.  I found the tutorial under the Help page and I got it to work.

Original comment by Pytholog...@gmail.com on 3 Jan 2012 at 8:05

GoogleCodeExporter commented 9 years ago

Original comment by spartacu...@gmail.com on 26 Jan 2012 at 12:37

GoogleCodeExporter commented 9 years ago
I have the same problem, how I can solve that?

Original comment by ergali...@gmail.com on 2 Dec 2012 at 10:01

GoogleCodeExporter commented 9 years ago
to run a prog java you need this steps :
creat file java  
compile the prog with javac it's should creat new file.class
for example 
javac hello.java
a new file created hello.class
now you need to run it 
you need to creat a jar file
dx --dex --output=hello.jar hello.class 
finaly java -jar hello.jar hello
it must be run 

Original comment by Charbel....@gmail.com on 28 Mar 2014 at 9:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I did this for a java project with about 25 class files. It worked but now i am 
getting a new exception... a RuntimeException that states Foo.class: file not 
found. The class file is indeed there, it is the first class that is called on 
in the main program. The project works fine in the java command line on my pc 
so i am pretty sure there is a basic dalvik thing i don't know how to do. Can 
someone take pity on a stupid newbie and give me the basic walkthrough, or 
should i just go thru the tutorial?

Original comment by andrewha...@gmail.com on 6 Sep 2014 at 4:51