![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Would you mind compiling this for me?
http://github.com/Atmospherian/Haxer
In case you're curious it's a Adobe Flash to HaXe translator. Translates
source code from one application's format to the other.
ty
-Mike
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
SharkD wrote:
> Would you mind compiling this for me?
>
> http://github.com/Atmospherian/Haxer
>
> In case you're curious it's a Adobe Flash to HaXe translator. Translates
> source code from one application's format to the other.
>
> ty
>
> -Mike
Or, could someone provide an example command line to compile the program?
This is the one I'm using:
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe"
"J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java"
It results in the following errors:
J:\ProgsWin\Haxer>"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe"
"J:\ProgsWin
\Haxer\src\net\interaxia\haxer\Haxer.java"
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:3: package
net.interaxia.ha
xer.api does not exist
import net.interaxia.haxer.api.AllTypes;
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:4: package
net.interaxia.ha
xer.api does not exist
import net.interaxia.haxer.api.ObjectType;
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:5: package
net.interaxia.ha
xer.scanner does not exist
import net.interaxia.haxer.scanner.Inspector;
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:6: package
net.interaxia.ha
xer.scanner does not exist
import net.interaxia.haxer.scanner.Scanner;
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:7: package
net.interaxia.ha
xer.translator does not exist
import net.interaxia.haxer.translator.Translator;
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:48: cannot find symbol
symbol : class HaxeFile
location: class net.interaxia.haxer.Haxer
private static void saveOutputFile(String rootFolder, HaxeFile file) {
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:27: cannot find symbol
symbol : class Scanner
location: class net.interaxia.haxer.Haxer
Scanner scanner = new Scanner();
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:27: cannot find symbol
symbol : class Scanner
location: class net.interaxia.haxer.Haxer
Scanner scanner = new Scanner();
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:30: cannot find symbol
symbol : variable AllTypes
location: class net.interaxia.haxer.Haxer
AllTypes.getInstance();
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:31: cannot find symbol
symbol : class HaxeFile
location: class net.interaxia.haxer.Haxer
List<HaxeFile> haxeFiles = new ArrayList<HaxeFile>();
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:31: cannot find symbol
symbol : class HaxeFile
location: class net.interaxia.haxer.Haxer
List<HaxeFile> haxeFiles = new ArrayList<HaxeFile>();
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:33: cannot find symbol
symbol : class Inspector
location: class net.interaxia.haxer.Haxer
Inspector i = new Inspector(f);
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:33: cannot find symbol
symbol : class Inspector
location: class net.interaxia.haxer.Haxer
Inspector i = new Inspector(f);
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:38: cannot find symbol
symbol : class HaxeFile
location: class net.interaxia.haxer.Haxer
for (HaxeFile hf : haxeFiles) {
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:39: cannot find symbol
symbol : class Translator
location: class net.interaxia.haxer.Haxer
Translator t = new Translator(hf);
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:39: cannot find symbol
symbol : class Translator
location: class net.interaxia.haxer.Haxer
Translator t = new Translator(hf);
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:56: cannot find symbol
symbol : class ObjectType
location: class net.interaxia.haxer.Haxer
ObjectType shortName =
AllTypes.getInstance().getTypeByShortName(fileNam
e);
^
J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java:56: cannot find symbol
symbol : variable AllTypes
location: class net.interaxia.haxer.Haxer
ObjectType shortName =
AllTypes.getInstance().getTypeByShortName(fileNam
e);
^
18 errors
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Mon, 28 Sep 2009 03:58:26 +0200, SharkD <mik### [at] gmail com> wrote:
> Or, could someone provide an example command line to compile the program?
>
> This is the one I'm using:
>
>
> "C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" ^
> "J:\ProgsWin\Haxer\src\net\interaxia\haxer\Haxer.java"
You need to compile all the source files, either all at once or in the
correct order (as determined by dependencies).
Something like this:
cd /d "J:\ProgsWin\Haxer\src\net\interaxia\haxer"
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" ^
*.java ^
api\*.java ^
scanner\*.java ^
translator\*.java
--
FE
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Fredrik Eriksson wrote:
> You need to compile all the source files, either all at once or in the
> correct order (as determined by dependencies).
OK, I got it to compile. But, when I try to execute it I get this error:
J:\ProgsWin\Haxer>cd "src"
J:\ProgsWin\Haxer\src>"C:\Program Files\Java\jdk1.6.0_16\bin\java.exe"
java -cla
sspath . net.interaxia.haxer.Haxer
Exception in thread "main" java.lang.NoClassDefFoundError: java
Caused by: java.lang.ClassNotFoundException: java
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: java. Program will exit.
J:\ProgsWin\Haxer\src>pause
Press any key to continue . . .
Any ideas?
-Mike
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Mon, 28 Sep 2009 06:45:15 +0200, SharkD <mik### [at] gmail com> wrote:
> Fredrik Eriksson wrote:
>> You need to compile all the source files, either all at once or in the
>> correct order (as determined by dependencies).
>
> OK, I got it to compile. But, when I try to execute it I get this error:
>
> J:\ProgsWin\Haxer>cd "src"
>
> J:\ProgsWin\Haxer\src>"C:\Program Files\Java\jdk1.6.0_16\bin\java.exe" ^
> java -classpath . net.interaxia.haxer.Haxer
>Exception in thread "main" java.lang.NoClassDefFoundError: java
Just skip the "java" part of the argument list.
java.exe -classpath . net.interaxia.haxer.Haxer
--
FE
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |