Source code |
|
1 |
javac -encoding=ISO-8859-1 Main.java |
Source code |
|
1 |
package KronCrypt; |
Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Main.java:24: cannot find symbol symbol : class Algorithm location: class KronCrypt.Main Algorithm kronCrypt = new Algorithm(); ^ Main.java:24: cannot find symbol symbol : class Algorithm location: class KronCrypt.Main Algorithm kronCrypt = new Algorithm(); ^ Main.java:25: cannot find symbol symbol : class MainView location: class KronCrypt.Main MainView kronView = new MainView(kronCrypt); ^ Main.java:25: cannot find symbol symbol : class MainView location: class KronCrypt.Main MainView kronView = new MainView(kronCrypt); |
Source code |
|
1 |
javac -encoding ISO-8859-1 KronCrypt/Main.java |
Source code |
|
1 |
java Main |
Source code |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Exception in thread "main" java.lang.NoClassDefFoundError: Main (wrong name: KronCrypt/Main) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) |
Source code |
|
1 |
java KronCrypt/Main |
Quoted
Packages are nothing more than the way we organize files into different directories according to their functionality, usability as well as category they should belong to.
This post has been edited 1 times, last edit by "derSmutje" (Aug 13th 2008, 11:40am)
Turner, Serveradmin & Workaholic
Date of registration: Apr 25th 2006
Location: Südstadt
Occupation: (iter (B.Sc. Inf, 8)) \n (be-a-slave ("SRA", "Bachelor Thesis")) \n (be-a-programmer-slave ("Freelancer", "Programming"))
This post has been edited 1 times, last edit by "schmaidt" (Aug 13th 2008, 2:58pm)
Turner, Serveradmin & Workaholic
Date of registration: Apr 25th 2006
Location: Südstadt
Occupation: (iter (B.Sc. Inf, 8)) \n (be-a-slave ("SRA", "Bachelor Thesis")) \n (be-a-programmer-slave ("Freelancer", "Programming"))