Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

Netbeans debugging problem

Thread view: 
vl106 - 27 Nov 2005 15:35 GMT
Being new to Java programming I encounter problems when debugging
a Java application within Netbeans IDE 4.0. Neither debugging via socket
nor shared memory works. Following the tips from the web the VM params
(set in project properties) should be:

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,
server=y,address=javadebug,suspend=n

I receive the error message:

ERROR: JDWP unable to get necessary JVMTI capabilities. ["debugInit.c",L279]
Java Result: 1

What's wrong???
Chris Smith - 27 Nov 2005 15:44 GMT
> Being new to Java programming I encounter problems when debugging
> a Java application within Netbeans IDE 4.0. Neither debugging via socket
[quoted text clipped - 8 lines]
> ERROR: JDWP unable to get necessary JVMTI capabilities. ["debugInit.c",L279]
> Java Result: 1

JVMTI, huh?  Are you using Java 1.5 (aka 5.0)?  Are you using the latest
release?  The JVMTI is fairly new, so if you've got an old virtual
machine, that may be the problem.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

vl106 - 27 Nov 2005 17:22 GMT
Well, all I did was installing a JDK (jdk1.5.0_01) from Sun and hoped things
would fit together.

java -version gives me:
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode)

>> Being new to Java programming I encounter problems when debugging
>> a Java application within Netbeans IDE 4.0. Neither debugging via socket
[quoted text clipped - 13 lines]
> release?  The JVMTI is fairly new, so if you've got an old virtual
> machine, that may be the problem.
Roedy Green - 27 Nov 2005 17:47 GMT
>Well, all I did was installing a JDK (jdk1.5.0_01) from Sun and hoped things
>would fit together.

that is 4 bug fix releases behind.  try JDK 1.5.0_05.

http://mindprod.com/jgloss/jdk.html

(site is temporarily down for moving to a faster server)
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.