« first day (1639 days earlier)   

12:05 AM
Cool, Java is used in Sim cards :D
 
@TheMuffinCoder Java is used everywhere
 
@OMGtechy Yay! Java is even in our coffee!
 
yes!
 
wait that mean's it literally is everywhere
it's watching our every move
the javabots are waiting for the right moment to strike, then they will take control of the world and eliminate C#
 
@TheMuffinCoder you may be able to help me
 
12:19 AM
 
LOL
 
xD I made that in 3 minutes
with Microsoft paint
 
the timing of that was perfect
"you may be able to help me"
"get well soon"
 
Anyway, I have a Java problem and you know some Java so :D
 
12:20 AM
It was meant for Lasse
@OMGtechy yay i may be able to help :D
ask away!
 
I have a package called UnionFind, a class in that UnionFind package called Test which has a method called main. When I try to run it, I get "cannot find main class" etc, so I try java -cp . UnionFind.Test and it still says the same.
 
xD that has happened to me many times
Are you using the console compiler or eclipse?
 
console
javac
javac Test.java IdArray.java
 
:( well this is shameful to say but (i compile everything with eclipse...)
 
to be exact
:O
 
12:23 AM
it may have to do with the filename be captizalized
When i coded with Java in android, I spent weeks trying to see what was wrong
 
well it won't compile if it's not
 
turned out I couldn't have captials in the filename
try that :D
 
hmm I'll try it again
 
hey OMG, why dont you use a IDE
 
na won't compile
 
12:24 AM
or is the project too big?
 
I am just most comfortable without
 
8
Q: Java can't find main class

IAmYourFajaI have written the following Java source file (Hello.java): package com; public class Hello { public static void main(String[] args) { System.out.println("Hello!"); } } I save this to C:/tmpjava/Hello.java. From the command line, I navigate to that directory and run javac Hel...

 

« first day (1639 days earlier)