:oops: I guess I had a brain fart, as I was thinking that the second argument was *Do untill this is true*. Doh! Anyways, I rewrote it and the problem still happens: /*************************************************** public class PrimeNumb { public static void main (String[] args) { int myPrime ...
I've just written a simple problem to find prime numbers and when I run it, it finished wihtout sending out any output other than the blank DOS shell telling me to Press any key to continue. Here's the code: :?: public class PrimeNumb { public static void main (String[] args) { int myPrime ...
In order to run a compile Java prog I had to move the .class file over to where I specified .class files are supposed to be else it would give me a "java.lang.NoClassDefFoundError" runtime error. This sucks.
Now I feel stupid, I should have looked further into it but you can set Textpad so that it finds your .class at a set location . Here's a URL to the posts wher I found the info: http://www.textpad.com/forum/viewtopic. ... lass+path.
I actually have the same problem and have set the CLASSPATH environment setting to no evail. So if anyone knows the answer to this problem, it's more than one person having this problem.