| | |
why do i compile wrong of SDK?
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2005
Posts: 1
Reputation:
Solved Threads: 0
I had installed MinGW-3.2.0-rc-3.exe and i was trying to compile a simple code:
then i typed this command under vim, !java d:\progsaved\java\jdk\HellWorld, before i typed this !javac d:\progsaved\progsaved\java\jdk\HelloWorld.java to generate class file. The errors showed that
why do i get this errors?
Java Syntax (Toggle Plain Text)
public class HelloWorld { public static void main(String args[]) { System.out.println("Hello, World"); } }
Java Syntax (Toggle Plain Text)
C:\WINDOWS\system32\cmd.exe /c java -cp=d:\progsaved\java\jdk helloworld Unrecognized option: -cp=d:\progsaved\java\jdk Could not create the Java virtual machine. shell returned 1 Hit any key to close this window...
![]() |
Similar Threads
- Flash Requirements? (Graphics and Multimedia)
- use x64 gcc to compile elf_i386 code (C++)
- C program please help (C)
- C++ BASICS ==> Pointers, Call by Reference/Value, Inheritance, Functions & Arrays (C++)
- siren.c won't compile , what's wrong with this code? (C)
Other Threads in the Java Forum
- Previous Thread: Database not being populated....
- Next Thread: JTables
Views: 1804 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Java
-xlint android api apple applet application arguments array arrays automation binary blackberry block bluetooth chat class classes client code compile component database developmenthelp draw eclipse encode error event exception file fractal game gameprogramming givemetehcodez graphics gui helpwithhomework html ide image input integer iphone j2me j2seprojects java javac javaprojects jmf jni jpanel julia lego linux list loop loops mac map method methods mobile netbeans newbie notdisplaying number object online oracle print problem program programming project recursion scanner screen server set singleton size sms socket sort sql string swing system template test textfields threads time title transfer tree tutorial-sample update windows working






