• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JPDA on Mac OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JPDA on Mac OSX?


  • Subject: Re: JPDA on Mac OSX?
  • From: Jonathan Rochkind <email@hidden>
  • Date: Tue, 30 Dec 2003 12:04:08 -0600

At 12:10 PM -0500 12/30/03, Karl Gretton wrote:
Hi Jonathan,

The libraries that you are referring to are Java JNI libraries. The .so is usually wrapped inside. They can be found at:

/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/
libjdwp.jnilib
and
/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/
libdt_socket.jnilib

Note also. My 10.2.8 OSX system does NOT have these files there, I just discovered. There is no libjdwp.jnilib or libdt_socket.jnilib in the /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/ directory. They are not there. This could be the problem.


Why they aren't there, or how I fix this... I have no idea. Searching my entire HD for files including the name "libjdwp" or "libdt", I find nothing.

--Jonathan



I have never used Bugseeker but I found this script on their website for launching the product.

---snip

#!/bin/sh
#
# BugSeeker for Java 2 Demo Startup Script
# ========================================================================
=
===
# For Mac OS X Public Beta
#
# ------------------------------------------------------------------------
-
---


# Please specify the correct BugSeeker installation home directory below
#
BUGSEEKER2_HOME=/Applications/bugseeker2demo


JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/ CurrentJDK

B2_CLASSPATH=$BUGSEEKER2_HOME/lib/bugseeker2demo.jar:${JAVA_HOME}/
Classes/j
pda.jar

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${JAVA_HOME}/Libraries
export LD_LIBRARY_PATH

MAIN_CLASS_NAME="bugseeker2.Main"

JAVA_EXE="java"
JVM_ARGS="-ms16M -mx256M"

while [ $# -gt 0 ]; do
   ARGS="$ARGS $1"
   shift
done


# Available Look & Feel Color Themes: # # "Default", "Bubbles", "Convergence", "Golden_Poppy", "Lollipop", # "Lollipop_3", "Lollipop_4", "Lollipop_5", "Rio_Azul", "Roswell", # "Sunny"

exec ${JAVA_HOME}/Commands/${JAVA_EXE} -Xbootclasspath/a:$B2_CLASSPATH $JVM
_ARGS $MAIN_CLASS_NAME -theme "Convergence" $ARGS


----snip

I am not sure how familiar you are with Unix shell scripts coming from Windoze. You need to edit the BUGSEEKER2_HOME to point to the root of your BUGSEEKER2 installation. This should be a .sh file with permissions set to readable and executable.

Using this file, I successfully launched Bugseeker. I have attached the file that I used.

Karl

[demime 0.98b removed an attachment of type application/octet-stream which had a name of bugseeker2demo.macosx]
On Dec 30, 2003, at 11:31 AM, Jonathan Rochkind wrote:


At 1:14 PM +0100 12/30/03, David Teran wrote:
Its installed by default, mac like so bugseeker2 will simply work.

Yeah, that's what I've discovered, except.... bugseeker does not simply work. Has anyone succesfully gotten Kamira Bugseeker to work on OSX? I'm on 10.2.8, when I start up bugseeker it gives me an error message: "Installation Error: BugSeeker could not load the required JPDA libraries; libjdwp.so not found in LD_LIBRARY_PATH; libdt_socket.so not found in LD_LIBRARY_PATH; BugSeeker will not run without these libraries available."

 Indeed those  libraries can not be found anywhere on my HD; and yet,
 as David says, Java 1.3.1 for OSX does come with JPDA. I've definitely
 got JPDA, but apparently on OSX it doesn't involve those particular
 libraries, or something.

 This is very frustrating. I would very much like to use bugseeker on
 OSX (I am unsatisifed with the graphical debugger provided by
 ProjectBuilder). I emailed the Kamira tech support address, but have
 not heard from them. David is right that they only occasionally show
 themselves to exist; which was fine when I was on Windows, because
 bugseeker Just Worked with no problems.  But has anyone gotten it to
 work on OSX?

 --Jonathan


 Did you hear anything from the company who developed bugseeker? I
 have reported bugs in the app long time ago but their website is
>> unchanged sinces years.

david


On 29.12.2003, at 18:41, Jonathan Rochkind wrote:

 Sorry, not really a WO question, but...   In transitioning from
 developing WO on Windows to on OSX (10.2.8, I do not have Panther
 yet)...

 I am trying to get my debugger of choice (bugseeker2) to work.  I
 need to have JPDA (Java Platform Debugging Architecture) installed.
 On Windows, this required downloading the entire JDK (not just the
 Java runtime) from Sun's site.  On OSX....  does JPDA exist on OSX?
 If so, how do I get it installed?  It does not seem to be installed
 by default out of the box, although the Java runtime is.

 Any suggestions?

 --Jonathan
 _______________________________________________
 webobjects-dev mailing list | email@hidden
 Help/Unsubscribe/Archives:
 http://www.lists.apple.com/mailman/listinfo/webobjects-dev
 Do not post admin requests to the list. They will be ignored.
 _______________________________________________
 webobjects-dev mailing list | email@hidden
 Help/Unsubscribe/Archives:
 http://www.lists.apple.com/mailman/listinfo/webobjects-dev
 Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: JPDA on Mac OSX?
      • From: Karl <email@hidden>
References: 
 >JPDA on Mac OSX? (From: Jonathan Rochkind <email@hidden>)
 >Re: JPDA on Mac OSX? (From: David Teran <email@hidden>)
 >Re: JPDA on Mac OSX? (From: Jonathan Rochkind <email@hidden>)
 >Re: JPDA on Mac OSX? (From: Karl Gretton <email@hidden>)

  • Prev by Date: Re: JPDA on Mac OSX?
  • Next by Date: Re: JPDA on Mac OSX?
  • Previous by thread: Re: can I use fetch spec to filter an array?
  • Next by thread: Re: JPDA on Mac OSX?
  • Index(es):
    • Date
    • Thread