having problems in running my java program..

Posted by Tarun on Stack Overflow See other posts from Stack Overflow or by Tarun
Published on 2010-05-03T06:09:42Z Indexed on 2010/05/03 6:18 UTC
Read the original article Hit count: 166

Filed under:

I'm a beginner in java so this question might seem a little stupid, my jdk and jre are installed in C:\program files, I write my program and save it in in my folder G:\start, now my program compiles without any error(the .class file is also generated), but when i run my program it says "unable to locate G:\lib\amd64\jvm.cfg", so i copy the 'lib' folder from my jdk folder and paste it in G:, again program compiles without any error, but when i run it,it gives my a new error saying "unable to locate G:\bin\server\jvm.dll",so i copy the 'bin' folder to g:, but now when i run, it gives me the same error again "unable to locate G:\bin\server\jvm.dll",where am I going wrong?

© Stack Overflow or respective owner

Related posts about java