hello
I´ve a problem using drjava. When i go to compile a project "Run" and "Test" funcions of drjava main toolbar are disabled. I went to "Windows process manager" and there are 2 process called "javaw.exe" and his discription "Java (TM) Plataform". One has 66k of memory and the other 20k.
By ending the 20k process "Run" an "Test" funcions are active again.The ohter one is drjava,
Can somoene tell me why this happen? i'm usig VistaHomeP 32.
Thanks and sorry my english
We need to know a little bit more about your system to help you. Please go to "Help -> About" on the menu and click on "System Properties". Then, click the "Copy System Properties" button and paste the results here in a new comment.
Thanks,
The DrJava Team
Well there it is:
System Properties:
DrJava Version drjava-20090821-r5004
DrJava Build Time 20090821-1520
drjava.debug.port = 57916
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files\Java\jre6\bin
java.vm.version = 14.2-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 = PT
sun.os.patch.level = Service Pack 2
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.home>\Desktop\ET
java.runtime.version = 1.6.0_16-b01
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\Program Files\Java\jre6\lib\endorsed
os.arch = x86
java.io.tmpdir = C:\Users\UTILIZ~1\AppData\Local\Temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
user.variant =
os.name = Windows XP
sun.jnu.encoding = Cp1252
java.library.path = C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\PROGRAM FILES\COMMON FILES\ROXIO SHARED\DLLSHARED\;C:\PROGRAM FILES\COMMON FILES\ROXIO SHARED\DLLSHARED\;C:\PROGRAM FILES\COMMON FILES\ROXIO SHARED\9.0\DLLSHARED\;C:\Program Files\Panda Security\Panda Internet Security 2010\;C:\Program Files\Java\jre6\bin
java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 5.1
user.home = <anonymized user.home>
user.timezone = Europe/London
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.6
java.class.path = <anonymized user.home>\Desktop\ET\drjava-stable-20090821-r5004.exe
user.name = <anonymized user.name>
java.vm.specification.version = 1.0
java.home = C:\Program Files\Java\jre6
sun.arch.data.model = 32
user.language = pt
java.specification.vendor = Sun Microsystems Inc.
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode, sharing
java.version = 1.6.0_16
java.ext.dirs = C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\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
#Tue Oct 20 19:05:46 BST 2009
extra.classpath = C:\\Users\\<anonymized user.name>\\Desktop\\ET\\acm.jar;C:\\Users\\<anonymized user.name>\\Desktop\\ET\\prog-ua.jar
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
remote.control.enabled = false
recent.files = [C:\\Users\\<anonymized user.name>\\Desktop\\ET\\teste2.java,C:\\Users\\<anonymized user.name>\\Desktop\\ET\\a4e2.java,C:\\Users\\<anonymized user.name>\\Desktop\\ET\\a4e1.java,C:\\Users\\<anonymized user.name>\\Desktop\\ET\\a2e1.java,C:\\Users\\<anonymized user.name>\\Desktop\\ET\\exe11.java]
window.height = 786
window.width = 1296
window.x = -8
window.y = -8
window.state = 6
doc.list.width = 147
last.dir = C:\\Users\\<anonymized user.name>\\Desktop\\ET
last.interactions.dir = C:\\Users\\<anonymized user.name>\\Desktop\\ET
tabbedpanes.state = 640 400 700 400
dialog.drjava.survey.enabled = false
new.version.notification.last = 1255559975040
drjava.survey.notification.last = 1255631775183
drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5004&os.name=Windows%20XP&os.version=5.1&java.version=1.6.0_16&java.vendor=Sun%20Microsystems%20Inc.
file.ext.registration = never
Used memory: about 19,09 megabytes
Free memory: about 4,53 megabytes
Total memory: about 23,63 megabytes
Total memory can expand to: about 63,56 megabytes
Number of processors/cores: 2
It says os version is win XP but i have VistaHomeP 32
Thanks
It probably shows "Windows XP" because you are running Java in Windows XP compatibility mode. I don't think that's the cause of the problem, though.
Under Windows Vista Enterprise, I cannot reproduce this.
The small process (20k) is the Interactions Pane JVM. It needs to be restarted after a compile, but seems to hang.
Have you tried clearing your extra classpath (Preferences/Resource Locations) and compiling a simple "Hello World" program?
Also, do you have the JDK (Java Development Kit) installed? DrJava cannot
compile with just the JRE (Java Runtime Environment) present, it needs
the JDK.
Yes i put the program in "run compability mode : Win WP".
In extra classpath trere are two files .jar that i need to run my projects.
Howerver i cleared extra classpath and i've ran "hello world".
But it is the same. "run" and "test" funcions are disabled and i need to end the 20k process manually to make them active.
i've JDK 6.0_16.
Thanks.