• 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: arturo <email@hidden>
  • Date: Tue, 30 Dec 2003 13:46:37 -0500

Could you try launching the script from the command line?  If you do this
from Terminal

sh -x <script>

then the shell will print out the commands it executes.  Maybe that will
give someone
here an idea as to what's going wrong.

----- Original Message -----
From: "Jonathan Rochkind" <email@hidden>
To: "Karl Gretton" <email@hidden>
Cc: <email@hidden>; "David Teran"
<email@hidden>
Sent: Tuesday, December 30, 2003 12:53 PM
Subject: Re: JPDA on Mac OSX?


> Hm. Yes, I have that "osx" launch script too. The problem is that
> there is no "jpda.jar" file on an OSX 10.2.8 computer.  Note that jar
> file is referenced by the script, in the classpath.
>
> But you give me some hints by identifying those libjdwp.jnilib and
> libdt_socket.jnilib files, thanks. What do you normally do with a
> "jnilib" file?  Should I maybe include that directory
> (.../1.3.1/Libraries/) in the "LD_LIBRARY_PATH"?   Ooops, wait, it
> already is included in the LD_LIBRARY_PATH in that script.  Shoot, I
> don't know what to do.  I think someone that understood this stuff
> better could probably figure this out, but I'm lost.
>
> But wait, you say you succesfully launched bugseeker and include your
> startup script, I just noticed. Okay, let  me try that...   Nope,
> can't make it work for me. Not with "CurrentJDK" (1.4.1), not with "
> "1.3.1" which is what I really want, either.  Still get the same
> error, it says it can't find those libraries. But it works for you...
> weird.  What version of OSX (I am 10.2.8).  I wonder if there's
> possibly a difference between the 'demo' you are using, and the full
> licensed version I have (seems unlikely).
>
> How frustrating.
>
>
> 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/libjdw
p.jnilib
> >and
>
>/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/libdt_
socket.jnilib
> >
> >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
> >
> >
> >Content-type: application/octet-stream; x-unix-mode=0777;
> >  name=bugseeker2demo.macosx
> >Content-transfer-encoding: 7bit
> >Content-disposition: attachment; filename=bugseeker2demo.macosx
> >
> >Attachment converted: Macintosh HD:bugseeker2demo.macosx (????/----)
> >(00090F32)
> >
> >
> >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
> >>notsimply work.  Has anyone succesfully gotten Kamira Bugseeker to
> >>workon OSX?  I'm on 10.2.8, when I start up bugseeker it gives me
> >>an errormessage:  "Installation Error: BugSeeker could not load the
> >>requiredJPDA libraries; libjdwp.so not found in
> >>LD_LIBRARY_PATH;libdt_socket.so not found in LD_LIBRARY_PATH;
> >>BugSeeker will not runwithout 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
> >>definitelygot JPDA, but apparently on OSX it doesn't involve those
> >>particularlibraries, or something.
> >>
> >>This is very frustrating. I would very much like to use bugseeker
> >>onOSX (I am unsatisifed with the graphical debugger provided
> >>byProjectBuilder). I emailed the Kamira tech support address, but
> >>havenot heard from them. David is right that they only occasionally
> >>showthemselves to exist; which was fine when I was on Windows,
> >>becausebugseeker Just Worked with no problems.  But has anyone
> >>gotten it towork on OSX?
> >>
> >>--Jonathan
> >>
> >>>Did you hear anything from the company who developed bugseeker?
> >>>Ihave reported bugs in the app long time ago but their website
> >>>isunchanged sinces years.
> >>>
> >>>david
> >>>
> >>>
> >>>On 29.12.2003, at 18:41, Jonathan Rochkind wrote:
> >>>
> >>>>Sorry, not really a WO question, but...   In transitioning
> >>>>fromdeveloping WO on Windows to on OSX (10.2.8, I do not have
> >>>>Pantheryet)...
> >>>>
> >>>>I am trying to get my debugger of choice (bugseeker2) to work.
> >>>>Ineed to have JPDA (Java Platform Debugging Architecture)
> >>>>installed.On Windows, this required downloading the entire JDK
> >>>>(not just theJava 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 installedby 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/we
bobjects-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/webo
bjects-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:
    • can I use fetch spec to filter an array?
      • From: Denis Stanton <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>)
 >Re: JPDA on Mac OSX? (From: Jonathan Rochkind <email@hidden>)

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