Menu

#296 No Debugger Option

open
nobody
Other (56)
5
2015-10-08
2012-10-25
No

Hi,

I am running Dr. Java on Windows 7 and there is no "Debugger" dropdown option in my main menu. I've searched and cannot find what im doing wrong?

Any help would be appreciated! I'm attaching the system properties here:
System Properties:
DrJava Version drjava-20100913-r5387
DrJava Build Time 20100913-2126

drjava.debug.port = 49476
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files (x86)\Java\jre6\bin
java.vm.version = 20.10-b01
java.vm.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
path.separator = ;
java.vm.name = Java HotSpot(TM) Client VM
file.encoding.pkg = sun.io
sun.java.launcher = SUN_STANDARD
user.country = US
sun.os.patch.level = Service Pack 1
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.home>\Desktop
java.runtime.version = 1.6.0_35-b10
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\Program Files (x86)\Java\jre6\lib\endorsed
os.arch = x86
java.io.tmpdir = C:\Users\E19990~1\AppData\Local\Temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
user.variant =
os.name = Windows 7
sun.jnu.encoding = Cp1252
java.library.path = C:\Program Files (x86)\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ManageSoft\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre6\bin;.
java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 6.1
user.home = <anonymized user.home>
user.timezone = America/New_York
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.6
java.class.path = <anonymized user.home>\Desktop\drjava-stable-20100913-r5387.exe
user.name = <anonymized user.name>
java.vm.specification.version = 1.0
sun.java.command = <anonymized user.home>\Desktop\drjava-stable-20100913-r5387.exe
java.home = C:\Program Files (x86)\Java\jre6
sun.arch.data.model = 32
user.language = en
java.specification.vendor = Sun Microsystems Inc.
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode, sharing
java.version = 1.6.0_35
java.ext.dirs = C:\Program Files (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = C:\Program Files (x86)\Java\jre6\lib\resources.jar;C:\Program Files (x86)\Java\jre6\lib\rt.jar;C:\Program Files (x86)\Java\jre6\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre6\lib\jsse.jar;C:\Program Files (x86)\Java\jre6\lib\jce.jar;C:\Program Files (x86)\Java\jre6\lib\charsets.jar;C:\Program Files (x86)\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jre6\classes
java.vendor = Sun Microsystems Inc.
file.separator = \ java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname = 127.0.0.1
sun.desktop = windows
sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

DrJava configuration file
In resource bundle edu.rice.cs.drjava.config.options:
nothing

In shadowed configuration:
javac.location = C:\\Program Files (x86)\\IBM\\Lotus\\Notes\\jvm\\lib\\tools.jar
extra.classpath = C:\\Users\\e199900751\\Desktop\\bookClasses-3-9-10-with-doc_Tracy
lineenum.enabled = true
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
recent.files = [C:\\Users\\e199900751\\Dropbox\\GAVS\\Fall 2012\\MJ_Bean\\bookClasses-3-9-10-with-doc\\practice.java,C:\\Users\\e199900751\\Dropbox\\GAVS\\Fall 2012\\MJ_Bean\\bookClasses-3-9-10-with-doc\\bookClasses-3-9-10-with-doc\\bookClasses\\Turtle.java,C:\\Users\\e199900751\\Dropbox\\GAVS\\Fall 2012\\MJ_Bean\\bookClasses-3-9-10-with-doc\\bookClasses-3-9-10-with-doc\\bookClasses\\World.java,C:\\Users\\e199900751\\Dropbox\\GAVS\\Fall 2012\\MJ_Bean\\bookClasses-3-9-10-with-doc\\bookClasses-3-9-10-with-doc\\bookClasses\\SimpleTurtle.java,C:\\Users\\e199900751\\Dropbox\\GAVS\\Fall 2012\\MJ_Bean\\bookClasses-3-9-10-with-doc\\bookClasses-3-9-10-with-doc\\bookClasses\\SimplePicture.java]
window.height = 744
window.width = 1382
window.x = -8
window.y = -8
window.state = 6
doc.list.width = 173
last.dir = C:\\Users\\e199900751\\Desktop
last.interactions.dir = C:\\Users\\e199900751\\Desktop
tabbedpanes.state = 683 384 700 400
new.version.notification.last = 1350584798723
drjava.survey.notification.last = 1348984307664
drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5387&os.name=Windows%207&os.version=6.1&java.version=1.6.0_35&java.vendor=Sun%20Microsystems%20Inc.

Used memory: about 25.53 megabytes
Free memory: about 10.97 megabytes
Total memory: about 36.51 megabytes
Total memory can expand to: about 247.50 megabytes

Number of processors/cores: 4

Compiler Discovery Log:
From config: JDK library 1.2.3 at C:\Program Files (x86)\IBM\Lotus\Notes\jvm\lib\tools.jar, boot classpath: null
makeFromRuntime: compilerAdapter=edu.rice.cs.drjava.model.compiler.Javac160Compiler
attempt = JDK 6.0_35, isAvailable() = false
compiler=edu.rice.cs.drjava.model.compiler.NoCompilerAvailable
at least Java 6, try EclipseCompiler
version for Eclipse: Java 6.0
attempt = Eclipse Compiler 0.A48, isAvailable() = true
compiler=edu.rice.cs.drjava.model.compiler.EclipseCompiler
compiler found
compilers found: 1
From runtime: JDK library 6.0
Dir added: C:\Program Files (x86)\Java\jre6
Dir added: C:\Program Files (x86)\Java
Dir added: C:\Program Files (x86)
Dir added: C:\Program Files (x86)\Java
Dir added: C:\Program Files (x86)
Dir not added: C:\Program Files\Java
Dir added: C:\Program Files
Dir not added: C:\Java
Dir added: <anonymized user.home>\Desktop
Dir not added: C:\Java
Dir added: <anonymized user.home>\Desktop
Dir not added: C:\System\Library\Frameworks\JavaVM.framework\Versions
Dir not added: C:\usr\java
Dir not added: C:\usr\j2se
Dir not added: C:\usr
Dir not added: C:\usr\local\java
Dir not added: C:\usr\local\j2se
Dir not added: C:\usr\local
Dir not added: C:\usr\lib\jvm
Dir not added: C:\usr\lib\jvm\java-6-sun
Dir not added: C:\usr\lib\jvm\java-1.5.0-sun
Dir not added: C:\usr\lib\jvm\java-6-openjdk
Dir not added: C:\home\javaplt\java\Linux-i686
File not added: C:\Program Files (x86)\Java\lib\tools.jar
File not added: C:\Program Files (x86)\Java\Classes\classes.jar
File not added: C:\Program Files\JavaMint\langtools\dist\lib\classes.jar
File not added: C:\Program Files\JavaMint\langtools\dist\lib\tools.jar
File not added: C:\usr\local\soylatte\lib\classes.jar
File not added: C:\usr\local\soylatte\lib\tools.jar
File not added: C:\usr\local\JavaMint\langtools\dist\lib\classes.jar
File not added: C:\usr\local\JavaMint\langtools\dist\lib\tools.jar
MINT_HOME not set
File added: <anonymized user.home>\Desktop\drjava-stable-20100913-r5387.exe
Result:

Thanks

Related

Support Requests: #296

Discussion

  • Mathias Ricken

    Mathias Ricken - 2012-10-25

    Hi Tracy,

    Do you have the JDK (Java Development Kit) installed? Judging by the information you provided, DrJava didn't find it, and it therefore only offers the built-in Eclipse compiler, and no debugger.

    You can get the JDK here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html

    If that doesn't help, please let us know.

    --Mathias

     
  • Kenn Gorman

    Kenn Gorman - 2014-09-24

    I am having the same problem - just downloaded JDK 8.0_20 but still no Debugger Menu.Suggestions?

     
  • Roman Beslik

    Roman Beslik - 2015-05-14

    Same here. "Preferences/Debugger" says:

    The debugger is not currently available. To use the debugger,
    you can enter the location of the tools.jar file in the
    "Resource Locations" pane, in case DrJava does not automatically find it.
    See the user documentation for more details.

    I added the location of the "tools.jar", nothing have changed.

    drjava 20140826-1

    Name : jdk
    Version : 8u31-2
    Description : Oracle Java Development Kit
    Architecture : x86_64

     

    Last edit: Roman Beslik 2015-05-14
  • Lean Wang

    Lean Wang - 2015-10-07

    It seems this is a known bug:
    https://sourceforge.net/p/drjava/bugs/955/

    a private fix is offered.

     

    Last edit: Lean Wang 2015-10-07
  • Robert Cartwright

    I tried to reply by email but my message bounced. I have uploaded the latest build which appears to support the debugger with the Java 8 JDK at www.cs.rice.edu/~javaplt/drjavarice. I rarely use the debugger in DrJava but I was able to load the debugger using the menu and sucessfully set a breakpoint. This build also passes all of the debugger unit tests running on a Java 8 JDK. Prior builds were tested with Java 7 or Java 6 JDKs.

     

    Last edit: Robert Cartwright 2015-10-08
    • Robert Cartwright

      I just confirmed that the debugger loads when running the latest build
      using Java 7 and Java 6. I anticipate that Java 6 will become problematic
      in the near future. For example, according to documentation embedded in
      the new Eclipse batch compiler (Version 4.5.1) in the drjava.jar, it
      requires Java 7 or Java 8. I have not tried to use the Eclipse compiler
      using java 6; the latest build of DrJava only loads in this compiler if it
      fails to find a JDK on the executing machine. I have been using a Java 8
      JRE in my tests to make sure that the Eclipse compiler is properly loaded.

      On Thu, Oct 8, 2015 at 3:08 AM, Robert Cartwright rcartwright@users.sf.net
      wrote:

      I tried to reply by email but my message bounced. I have uploaded the
      latest build which appears to support the debugger with the Java 8 JDK at
      www.cs.rice.edu/~javaplt/drjavarice. I rarely use the debugger in DrJava
      but I was able to load the debugger using the menu and perform sucessfully
      set a breakpoint. This build also passes all of the debugger unit tests
      running on a Java 8 JDK. Prior builds were tested with Java 7 or Java 6
      JDKs.


      Status: open
      Group:
      Labels: Other
      Created: Thu Oct 25, 2012 12:46 AM UTC by Tracy Rainwater
      Last Updated: Wed Oct 07, 2015 07:03 PM UTC
      Owner: nobody

      Hi,

      I am running Dr. Java on Windows 7 and there is no "Debugger" dropdown
      option in my main menu. I've searched and cannot find what im doing wrong?

      Any help would be appreciated! I'm attaching the system properties here:
      System Properties:
      DrJava Version drjava-20100913-r5387
      DrJava Build Time 20100913-2126

      drjava.debug.port = 49476
      java.runtime.name = Java(TM) SE Runtime Environment
      sun.boot.library.path = C:\Program Files (x86)\Java\jre6\bin
      java.vm.version = 20.10-b01
      java.vm.vendor = Sun Microsystems Inc.
      java.vendor.url = http://java.sun.com/
      path.separator = ;
      java.vm.name = Java HotSpot(TM) Client VM
      file.encoding.pkg = sun.io
      sun.java.launcher = SUN_STANDARD
      user.country = US
      sun.os.patch.level = Service Pack 1
      java.vm.specification.name = Java Virtual Machine Specification
      user.dir = <anonymized user.home="">\Desktop
      java.runtime.version = 1.6.0_35-b10
      java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
      java.endorsed.dirs = C:\Program Files (x86)\Java\jre6\lib\endorsed
      os.arch = x86
      java.io.tmpdir = C:\Users\E19990~1\AppData\Local\Temp\ line.separator =
      "\u000d\u000a"
      java.vm.specification.vendor = Sun Microsystems Inc.
      user.variant =
      os.name = Windows 7
      sun.jnu.encoding = Cp1252
      java.library.path = C:\Program Files
      (x86)\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
      Files (x86)\ManageSoft\Common;C:\Program Files
      (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre6\bin;.
      java.specification.name = Java Platform API Specification
      java.class.version = 50.0
      sun.management.compiler = HotSpot Client Compiler
      os.version = 6.1
      user.home = <anonymized user.home="">
      user.timezone = America/New_York
      java.awt.printerjob = sun.awt.windows.WPrinterJob
      file.encoding = Cp1252
      java.specification.version = 1.6
      java.class.path = <anonymized user.home="">\Desktop\drjava-stable-20100913-r5387.exe
      user.name = <anonymized user.name="">
      java.vm.specification.version = 1.0
      sun.java.command = <anonymized user.home="">\Desktop\drjava-stable-20100913-r5387.exe
      java.home = C:\Program Files (x86)\Java\jre6
      sun.arch.data.model = 32
      user.language = en
      java.specification.vendor = Sun Microsystems Inc.
      awt.toolkit = sun.awt.windows.WToolkit
      java.vm.info = mixed mode, sharing
      java.version = 1.6.0_35
      java.ext.dirs = C:\Program Files
      (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
      sun.boot.class.path = C:\Program Files
      (x86)\Java\jre6\lib\resources.jar;C:\Program Files
      (x86)\Java\jre6\lib\rt.jar;C:\Program Files
      (x86)\Java\jre6\lib\sunrsasign.jar;C:\Program Files
      (x86)\Java\jre6\lib\jsse.jar;C:\Program Files
      (x86)\Java\jre6\lib\jce.jar;C:\Program Files
      (x86)\Java\jre6\lib\charsets.jar;C:\Program Files
      (x86)\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files
      (x86)\Java\jre6\classes
      java.vendor = Sun Microsystems Inc.
      file.separator = \ java.vendor.url.bug =
      http://java.sun.com/cgi-bin/bugreport.cgi
      sun.io.unicode.encoding = UnicodeLittle
      sun.cpu.endian = little
      java.rmi.server.hostname = 127.0.0.1
      sun.desktop = windows
      sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486
      i386 i86

      DrJava configuration file
      In resource bundle edu.rice.cs.drjava.config.options:
      nothing

      In shadowed configuration:
      javac.location = C:\Program Files
      (x86)\IBM\Lotus\Notes\jvm\lib\tools.jar
      extra.classpath =
      C:\Users\e199900751\Desktop\bookClasses-3-9-10-with-doc_Tracy
      lineenum.enabled = true
      key.delete.next = [shift DELETE]
      key.delete.previous = [shift BACK_SPACE]
      recent.files = [C:\Users\e199900751\Dropbox\GAVS\Fall
      2012\MJ_Bean\bookClasses-3-9-10-with-doc\practice.java,C:\Users\e199900751\Dropbox\GAVS\Fall
      2012\MJ_Bean\bookClasses-3-9-10-with-doc\bookClasses-3-9-10-with-doc\bookClasses\Turtle.java,C:\Users\e199900751\Dropbox\GAVS\Fall
      2012\MJ_Bean\bookClasses-3-9-10-with-doc\bookClasses-3-9-10-with-doc\bookClasses\World.java,C:\Users\e199900751\Dropbox\GAVS\Fall
      2012\MJ_Bean\bookClasses-3-9-10-with-doc\bookClasses-3-9-10-with-doc\bookClasses\SimpleTurtle.java,C:\Users\e199900751\Dropbox\GAVS\Fall
      2012\MJ_Bean\bookClasses-3-9-10-with-doc\bookClasses-3-9-10-with-doc\bookClasses\SimplePicture.java]

      window.height = 744
      window.width = 1382
      window.x = -8
      window.y = -8
      window.state = 6
      doc.list.width = 173
      last.dir = C:\Users\e199900751\Desktop
      last.interactions.dir = C:\Users\e199900751\Desktop
      tabbedpanes.state = 683 384 700 400
      new.version.notification.last = 1350584798723
      drjava.survey.notification.last = 1348984307664
      drjava.survey.result.last =
      http://www.drjava.org/submit-usage.php?rev=5387&os.name=Windows%207&os.version=6.1&java.version=1.6.0_35&java.vendor=Sun%20Microsystems%20Inc.

      Used memory: about 25.53 megabytes
      Free memory: about 10.97 megabytes
      Total memory: about 36.51 megabytes
      Total memory can expand to: about 247.50 megabytes

      Number of processors/cores: 4

      Compiler Discovery Log:

      From config: JDK library 1.2.3 at C:\Program Files
      (x86)\IBM\Lotus\Notes\jvm\lib\tools.jar, boot classpath: null
      makeFromRuntime:
      compilerAdapter=edu.rice.cs.drjava.model.compiler.Javac160Compiler
      attempt = JDK 6.0_35, isAvailable() = false
      compiler=edu.rice.cs.drjava.model.compiler.NoCompilerAvailable
      at least Java 6, try EclipseCompiler
      version for Eclipse: Java 6.0
      attempt = Eclipse Compiler 0.A48, isAvailable() = true
      compiler=edu.rice.cs.drjava.model.compiler.EclipseCompiler
      compiler found
      compilers found: 1
      From runtime: JDK library 6.0
      Dir added: C:\Program Files (x86)\Java\jre6
      Dir added: C:\Program Files (x86)\Java
      Dir added: C:\Program Files (x86)
      Dir added: C:\Program Files (x86)\Java
      Dir added: C:\Program Files (x86)
      Dir not added: C:\Program Files\Java
      Dir added: C:\Program Files
      Dir not added: C:\Java
      Dir added: <anonymized user.home="">\Desktop
      Dir not added: C:\Java
      Dir added: <anonymized user.home="">\Desktop
      Dir not added: C:\System\Library\Frameworks\JavaVM.framework\Versions
      Dir not added: C:\usr\java
      Dir not added: C:\usr\j2se
      Dir not added: C:\usr
      Dir not added: C:\usr\local\java
      Dir not added: C:\usr\local\j2se
      Dir not added: C:\usr\local
      Dir not added: C:\usr\lib\jvm
      Dir not added: C:\usr\lib\jvm\java-6-sun
      Dir not added: C:\usr\lib\jvm\java-1.5.0-sun
      Dir not added: C:\usr\lib\jvm\java-6-openjdk
      Dir not added: C:\home\javaplt\java\Linux-i686
      File not added: C:\Program Files (x86)\Java\lib\tools.jar
      File not added: C:\Program Files (x86)\Java\Classes\classes.jar
      File not added: C:\Program Files\JavaMint\langtools\dist\lib\classes.jar
      File not added: C:\Program Files\JavaMint\langtools\dist\lib\tools.jar
      File not added: C:\usr\local\soylatte\lib\classes.jar
      File not added: C:\usr\local\soylatte\lib\tools.jar
      File not added: C:\usr\local\JavaMint\langtools\dist\lib\classes.jar
      File not added: C:\usr\local\JavaMint\langtools\dist\lib\tools.jar
      MINT_HOME not set
      File added: <anonymized user.home="">\Desktop\drjava-stable-20100913-r5387.exe
      Result:

      Thanks

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/drjava/support-requests/296/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #296


Log in to post a comment.