ok so downloaded the SDK from java sun now when i try to use javah.exe i am getting the error: java.lang.NoClassDefError: com/sun/tools/javah/main
from teh error it appears as though the problem is with the javah file. my file has no problem running when i run it through eclipse but running it...
I'll download it. I have been using eclipse as my IDE. So i don't know why I dont have these files, I searched all local hard drives for the javac and javah. all i could find was java.exe and javaw.exe but thanks for you help
Hi
this is going to be a silly question, but i am trying to write a java program with native methods. I am following the tutorial at java sun and it says to use the javah utilty to make the header file. To do this it says to run from the command line with the arguements:
javah -jni FileName...
Hi
this is going to be a silly question, but i am trying to write a java program with native methods. I am following the tutorial at java sun and it says to use the javah utilty to make the header file. To do this it says to run from the command line with the arguements:
javah -jni FileName...
Hi
I have a JFrame and when the user hits the x close box, I want to call a method then close the JFrame. I understand how to use JFrame.EXIT_ON_CLOSE but is there anyway to set it to call a method first? thanks for you help
~grindstone~
Hi
I have a JTable and i want to change the colors of the rows dynamically. The colors need to correspond to the first letter of the string in the cell. When the string changes, the color also needs to change. I looked up in the java sun tutorial, but i am having some trouble figuring how...
I figured it out. I was running a seperate program that wrote to a file, and then i opened the file and read in the info for the table. I wasn't waiting to make sure the first program had completed it's task. But when i displayed a message dialog, it gave the program enough time to finish so it...
hi
i have a class that extends AbstractTableModel. i create a table and add in some rows. After I add them if I display a JOptionPane message box, the items will appear However, unless I display the message box they don't appear. I tried doing myFrame.setVisible(true); but that isn't helping...
Hi
I have an environment variable set to the location of certain files are that I need to access during my program. The ideas is so the user can set the environment variable to where ever they want to put their files. How can I access the environment variable's path in my code, so I can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.