You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

1

Tuesday, January 26th 2010, 11:42am

Startup problem

Hello,
I discoveres Jabaco today and installed it, appearently without any problem. But:
1. No way to enter my licence key (the fields are inactive and the "later" button only is active
2. Executing any program (even distributed samples like "calculator" or "quicksort") are crashing during the "listening for transport..." phase, with the message "Debugger failed. PROBLEM: JVM process timeout"
My configuration: XP Home SP1, with several Java versions installed: 1.4.2, 1.5.0, 1.6.0.
What have I missed ? Any advices are welcome !
Regards Klaus

Pinetar

Beginner

Posts: 1

Date of registration: Jan 27th 2010

  • Send private message

2

Wednesday, January 27th 2010, 1:22am

Problematic Startup of 1.5.2

I get the exact same problem when launching in the IDE via Project > Start

But if the project is compiled to Test.exe via File > Make Project - it runs properly w/o errors

so I'm with you > wassup ? ?(

[I'm also XP Pro SP1 running Java 1.6.0]

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

3

Wednesday, January 27th 2010, 9:24am

Without details, the following hints might be helpful:

Update to XP SP3. A lot of bugs and security leaks have been fixed since SP1.

Make sure that a Java Runtime Environment (JRE) 1.6.0 ist actually referenced by your system.
Download and install a Java 1.6 if not already present on your system.
Start the Java Control in your Windows System Control and activate the 1.6 JRE.
Check that your environment variables %JAVA_HOME% and %PATH% are set correctly.
To do that, you can execute CMD.EXE. Within the command box, you then start "set %JAVA_HOME%"
and "set %PATH%". No elder Java environments should be on your PATH or in your JAVA_HOME.

Success!

A1880

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

4

Wednesday, January 27th 2010, 10:00am

Thanks for the hints.

First: the XP version: unfortunately, I CANNOT update tu SP2 or SP3 because some special third party drivers do notr work after the update. I tried it yet, just to check for Jabaco, and the problem is still the same. So, I reverted back to my old SP1...

Second: I didnt have a JAVA_HOME variable, in fact. I created it pointing to C:\Program Files\Java\jre1.6.0_02\bin, but the symptoms are still the same. ALL the javaco examples crash, and the "fractal" example even doesn't reach the time out problem, because it has a compile error...

I created an application from scratch with an empty form, just with a single button, and NO code assigned to it, but its all the same. I wonder if some installation parameters are to be tuned, but as far as I can see it, I don't have any control at this level.

Sorry for bothering you, but I really don't understand.

Regards Klaus

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

5

Wednesday, January 27th 2010, 10:59am

To find out the effective Java version, you could do the following:

Source code

1
2
3
4
C:\a1880 10:58 > java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)


Your 1.6.0.2 might be the problem

Greetings!

A1880

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

6

Thursday, January 28th 2010, 1:13am

I verified my version following your hint, and here is the log of the DOS CMD session:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Klaus>cd c:\

C:\>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

C:\>set j
JAVADB=C:\Program Files\Java\jdk1.6.0_02\javadb
JAVA_HOME=C:\Program Files\Java\jre1.6.0_02\bin

C:\>


I confess having assumed the 1.6.0_2 version because of the folder name, without having used the command suggested by you. But unfortunately, this comes back to the same problem without solution. Could you please dig again ? May be with the above log there are some clues for you...

Regards Klaus

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

7

Thursday, January 28th 2010, 9:25am

Hmm!

JAVA_HOME should point to the root of your Java.
Your JAVA_HOME references the .\bin subdirectory.

Could it be that your JAVA_HOME actually points to an elder/outdated Java environment?
To check that, you could look in directory c:\Program Files\Java
Are there any newer Java subdirectories?

Try the following:

Source code

1
2
3
c:
cd "C:\Program Files\Java\jre1.6.0_02\bin"
.\java -version


A shorter test:

Source code

1
"%JAVA_HOME%\bin\java" -version



Do you still get "1.6.0_17"?

It is better to have no JAVA_HOME variable at all rather than an inconsistent one.

For your convenience, I attach a small script "whence.bat".
Execute "whence java" to find out, which Java actually is found and executed along the search PATH.

In Germany, we don't have a space in our path for programs.
We are using "Programme" instead of "Program Files".
But I would be surprised if Jabaco would actually stumble across this blank.
There are many international users out there ...

Good luck!

A1880
A1880 has attached the following file:
  • WHENCE.zip (420 Byte - 283 times downloaded - latest: Sep 15th 2017, 1:02pm)

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

8

Thursday, January 28th 2010, 4:35pm

I suppressed the JAVA_HOME environment variable, but "execute cmd", then "java -version" still displays the same version ID: 1.6.0_17-b04. I used "whence java" and it displayed c`\windows\java. I joined a file test.txt containing the output of a "path > test.txt" command, so you can see my path variable. I have several outdated java versions on my system, but fully separated i different folders, all grouped under "program files\java\...". You'll find the listing in dirjava.txt. The file environment.txt contains all my environment variable. I just retried Jabaco after suppressing the JAVA_HOME variable, but no change: no execution is possible (its still "Debugger failed. PROBLEM: JVM process timeout").

I surely messed up something, but what ?

Regards Klaus
KLaus has attached the following files:
  • test.txt (143 Byte - 288 times downloaded - latest: Sep 15th 2017, 1:02pm)
  • dirjava.txt (557 Byte - 317 times downloaded - latest: Sep 17th 2017, 6:37am)
  • environment.txt (1.06 kB - 310 times downloaded - latest: Sep 15th 2017, 1:02pm)

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

9

Thursday, January 28th 2010, 5:25pm

According to your directory timestamps, your most recent Java is

Source code

1
set JAVA_HOME=C:\Program Files\java\jre6


Try to set JAVA_HOME as shown above.
Use the Java control panel in your Windows system control panel to make sure that the most recent java is actually active.

The following PATH entries might interfere with Jabaco and/or Java:

Source code

1
2
C:\PROGRA~1\FICHIE~1\JAVADB
C:\SheerPower\


Greetings

A1880

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

10

Thursday, January 28th 2010, 7:01pm

OK. I understand there might have been some confusion between the versions.

I dit the following:
1. Using the Java Consol, I deactivated ALL versions but the 1.6.0_17-b04 one
2. I cleaned the PATH variable from the Sheerpower and JavaDB references
3. I defined the JAVA_HOME variable exactly as you described
4. I rebooted my machine and started a clean session
5. I retried JABACO with the Quicksort example

Unfortunately, there is no change. I don't have the faintest idea of what might be going on...

Thank youy for helping again...

Regards Klaus

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

11

Thursday, January 28th 2010, 8:34pm

Bad luck so far ...
Thanks for your patience!

Before giving up, you could re-create the three files you posted at 4:35pm

Perhaps, I can spot some additional issue.

Cheers

A1880

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

12

Friday, January 29th 2010, 12:45am

Ok, here are the files, and even more:

- the PATH variable
- the total environment
- the windows\java folder content
- the program files\java folder content (first level only, the whole listing is to big to upload...)
- the Windows control panel\Java control panel\Java versions (a single one is activated !)

If you need any other information...

Thanks in advance Klaus
KLaus has attached the following files:
  • List of JAVAs.txt (431 Byte - 391 times downloaded - latest: Sep 15th 2017, 1:02pm)
  • path.txt (115 Byte - 299 times downloaded - latest: Sep 15th 2017, 1:02pm)
  • environment.txt (1.01 kB - 294 times downloaded - latest: Sep 15th 2017, 1:02pm)
  • window_java.txt (2.14 kB - 322 times downloaded - latest: Sep 15th 2017, 1:02pm)
  • program_files_java.txt (557 Byte - 279 times downloaded - latest: Sep 15th 2017, 1:02pm)

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

13

Friday, January 29th 2010, 8:10am

Everything looks healthy.

Perhaps you could describe in more detail what happens during the failure.
What can you start? What is not possible? Which messages do you see?

Salutations!

A1880

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

14

Friday, January 29th 2010, 10:15am

The sequence of actions is as follows:

- start Jabaco
- open existing project
- select Quicksort.jba (project loads fine)
- fit F5 (or any other mean to start execution)
briefly, 2 windows show up at the bottom of the screen with log information:
The left window displays:

Quoted

start Java machine
connect [SHMEM] Jabaco
JBWP transport established
The right window displays:

Quoted

listening for transport dt-shmem at address xxxxxxxxxxxxx (the hex address varies each time)
and shortly after, these windows disappear, and the first time, I get a message box with:

Quoted

Debugger failed ! Process terminated !
Jabaco Debugger
and for each subsequent trial:

Quoted

Debugger failed ! Process terminated !
PROBLEM: JVM process time-out
And this is the result, whatever program I try to use, distributed exemples or a simple hello world program I made initially. This is frustrating; the IDE is brilliant and I feel I can get there what I am looking for, but without execution, even the finest program is just junk...

Thank you for you perseveration ! Klaus

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

15

Friday, January 29th 2010, 11:11am

Connection between Jabaco IDE and Java Virtual Machine is established using the Java Devug Wire Protocol JDWP
see here.
As far as I know, this can work via TCP Sockets or via Shared Memory on Windows.

Could there be a problem with TCP or IP name resolution on your system?
Things to check:
- entries in C:\WINDOWS\system32\drivers\etc\hosts
- entries in C:\WINDOWS\system32\drivers\etc\networks
- Domain Name Server working properly for name resolution (try "nslookup www.google.fr")
- Applications running which block TCP ports (use "netstat -a -b" to find out used TCP ports)
- Errors/Warnings in your Windows log (use "%SystemRoot%\system32\eventvwr.msc /s")

Chasing such a problem is a good way to get to know your system ;)

Success!

A1880

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

16

Friday, January 29th 2010, 12:28pm

The host file contains the following:

Quoted

127.0.0.1 localhost
After that, there is a long list of sites inserted by Spybot - Search & Destroy.

The network file:

Quoted

loopback 127
This is the only entry in the file.

I join the output of nslookup and netstat. The error logs don't show any item stamped at the time of error occurence (I did another test and explored the error logs just after that).

Is this helpfull ?
KLaus has attached the following files:
  • netstat.txt (2.39 kB - 393 times downloaded - latest: Today, 2:13am)
  • nslookup.txt (227 Byte - 287 times downloaded - latest: Sep 15th 2017, 1:02pm)

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

17

Saturday, January 30th 2010, 12:08am

Excuse my late response and thanks to A1880 for his deeply commitment. The process is terminated during the debug-process and runs well without the debugger-connection. There are two possible sources of error.

- the jdwp-connection

try to change the debug-type in the project-settings to "remote" and let us know if that works. another thing you can try is:
  1. compile quicksort to quicksort.jar
  2. start the software in your terminal with jdwp: java -cp Quicksort.jar -Xrunjdwp:transport=dt_socket,server=y,address=1234 -Xdebug VBLoader
  3. change debug-start to "nothing", debug-type to "remote", debug-port to "1234"
  4. start the debugger (f5)
  5. let us know if it works
- the java-installation

open your registry-editor - move to "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit"
check the "CurrentVersion"-item.
move to "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\%CurrentVersion%"
check the JavaHome-Path

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

18

Saturday, January 30th 2010, 9:39am

OK, I tried to follow your hints. I'll take them in order:

Quoted

- the jdwp-connection

try to change the debug-type in the project-settings to "remote" and let us know if that works. another thing you can try is:
  1. compile quicksort to quicksort.jar
  2. start the software in your terminal with jdwp: java -cp Quicksort.jar -Xrunjdwp:transport=dt_socket,server=y,address=1234 -Xdebug VBLoader
Compilation no problem; at execution, program hangs infinitely after the message
Listening for transport dt_socket at address: 1234

I have to kill by ctrl/C.

By the way, compiling to exe and executing the exe works fine !

Quoted


  1. change debug-start to "nothing", debug-type to "remote", debug-port to "1234"
  2. start the debugger (f5)
  3. let us know if it works
There is still the same error.

Quoted

- the java-installation

open your registry-editor - move to "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit"
check the "CurrentVersion"-item.
move to "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\%CurrentVersion%"
check the JavaHome-Path
I join the full register tree under ...\JavaSoft\; the current version is JR6 which is coherent with the program files folder. For uploading, the file has been renamed to .txt from the original .reg. A little doubt: I see I have the java 1.6.0_17 runtime, but not the dtk. May this be the cause of the problem ?

The JavaHome path: C:\Program Files\java\jre6

and this contains the existing JRE 1.6.0_17 version.

Another question: do I have to remove the older versions of Java (actually, they are all deactivated through the java consol) ?
KLaus has attached the following file:
  • java_reg.txt (11.2 kB - 1,346 times downloaded - latest: Sep 15th 2017, 1:03pm)

KLaus

Beginner

  • "KLaus" is male
  • "KLaus" started this thread

Posts: 10

Date of registration: Jan 26th 2010

Location: Morsang/Orge, France

Occupation: Retired software engineer

Hobbies: Programming

  • Send private message

19

Saturday, January 30th 2010, 10:11am

Just a little addendum:

In doubt over the 1.6.0-17 RTE version and the 1.6.0-2 JDK version, I downloaded and installed the 1.6.0-17 JDK. But the problem is still the same. Only now, I am sure to have RTE and JDK at the same level (if this has any incidence...).

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

20

Sunday, February 7th 2010, 9:51pm

Quoted

Compilation no problem; at execution, program hangs infinitely after the message
Listening for transport dt_socket at address: 1234

I have to kill by ctrl/C.
the software is waiting for a debugger like jabaco. don't kill it. repeat this step and start jabaco with the mentioned settings. jabaco will connect to the terminal and start the application.

Quoted

I join the full register tree under ...\JavaSoft\; the current version is JR6 which is coherent with the program files folder. For uploading, the file has been renamed to .txt from the original .reg. A little doubt: I see I have the java 1.6.0_17 runtime, but not the dtk. May this be the cause of the problem ?
i'm not sure what's wrong. try to remove all your java-installations and install the newest jdk or contact me for a teamviewer-session.

Rate this thread
WoltLab Burning Board