This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have tried to create a class dynamically compiled and run that in java 1.5 .I can create a class and compile that but while i try to create a instance for that i got a ClassNotFoundException.Class file should physically located in the file structure?
Please help me to resolve that.
Thanks in advance
All search starts with beginner's luck and all search ends with victor's severly tested.
seeing your source code, you should save your "dynamic" class in the same directory as the class you've written with the main, probably the class is being saved in the root directory of your project and compiled in the same place
Joined: Jul 23, 2009
Thanks for the reply.Yes i can get the DynamicClass.class in the output folder .What im trying is to generate a class dynamically,compile and use that but while i trying to access the MyDynamicClassTest7.class i got the classNotfound Exception.