Correct me if I am wrong. You want to run the dig program in Linux platform without using JNI. Use the Runtime.exec() method. For a working example tryout this link runtime.exec
I am very new to programming in PDA's. My question is, if I wanted to write GUI based programs in PDA's, Does the book cover this area? Atleast for beginners? --Vikas
Thanks. I didn't see your post until after I posted my second comment. Is JavaRanch slow on updating threads or did my browser just not reload the page?
Ok! now I think the C program has compiled successfully. Now its a Linking error. Check out the options for setting the library path for linking the libraries. --Vikas
I think it requires the standard stdio.h files for the VC++ compiler. Usually it should be there ur msvc++ directory. Try using the -I flag and initialize it to the VC++ include files. For example -I c:\msvc++\include. Hope it works.. --Vikas
Maki, When you create a html page, open/close the tags properly. For example, in Left.jsp, you dont have the <form> tag, but you have the </form> tag. So the browser got confused. Usually when I create the jsp page, whenever I open a tag, I make sure that I close the same, so that these sort of bugs can be avoided. Please close all open tags, and try out doing the same, I am sure it will work --Vikas
I think it could be done in this way.. java.util.Vector v = new java.util.Vector(); for (int i = 0; i < 10; i++) { v.addElement("element " + i); } java.util.Iterator itr = new java.util.Iterator(); itr = v.iterator(); while (itr.hasNext()) { //Do your stuff System.out.prinltn("element " + itr.next()); }
Again, I hope you created the stub-skeleton files using rmic RemoteInterfaceImpl Compile the generated files, and I think you'd be ready to go! --Vikas
Again, I hope you created the stub-skeleton files using rmic RemoteInterfaceImpl Compile the generated files, and I think you'd be ready to go! --Vikas