[sip-comm-dev] Question about weird sip-behaviour


#1

Hello,
Previously I posted to nist-jain list and my post never showed up.
Thanks for directing me to the right list.

I try compiling sip-communicator as a standalone windows executable using
Jbuilder 2005. The weird thing is that, when I run sip-communicator directly
from Jbuilder, then make a call or receive a call, there is no exception and
I can hear the alerting, etc.

But, when I run the exactly same .exe(without rebuilding) from explorer,
there is an exception, and I cannot hear or transmit any voice.
The same thing happen with the .jar file created in the same compiling
process when I run it from command line.

I also compile using Ant from command line, and the resulted .jar file is
running ok.

The problem is I want to create a native .exe for Windows for the sake of
easy execution.

Anybody experience this? Anybody can suggest a way out?

Thanks you for your kind response,
Hendro Lim

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

JBuilder doesn't makes native exe. It just makes native executable. Nothing more than 'java -jar SC.jar' for example. There is a target named jar in the ant script it makes an executable jar.

Hendro Lim wrote:

···

Hello,
Previously I posted to nist-jain list and my post never showed up. Thanks for directing me to the right list.

I try compiling sip-communicator as a standalone windows executable using
Jbuilder 2005. The weird thing is that, when I run sip-communicator directly
from Jbuilder, then make a call or receive a call, there is no exception and
I can hear the alerting, etc.

But, when I run the exactly same .exe(without rebuilding) from explorer,
there is an exception, and I cannot hear or transmit any voice.
The same thing happen with the .jar file created in the same compiling
process when I run it from command line.

I also compile using Ant from command line, and the resulted .jar file is
running ok.

The problem is I want to create a native .exe for Windows for the sake of
easy execution.

Anybody experience this? Anybody can suggest a way out?

Thanks you for your kind response,
Hendro Lim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
    Best Regards,
    Damian Minkov
     COSMOS Software Enterprises, Ltd.
    Tel: (+359-2) 983-32-62
    Mobile: (+359-88) 853-28-25
    E-Mail: damian@space-comm.com
    http://www.space-comm.com
     Post address:
       P. O. Box 941,
       1000 Sofia,
       Bulgaria
     Office address:
       ap. 9, fl. 4,
       "11 August" str., No. 43,
       1202 Sofia,
       Bulgaria

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi!

Use a JAVA Native Compiler like Excelsior JET:

http://www.excelsior-usa.com/jet.html

There are others (even freeware), but they do not support AWT / SWING.

Regards
Thorsten Kummermehr

···

JBuilder doesn't makes native exe. It just makes native executable.
Nothing more than 'java -jar SC.jar' for example. There is a target
named jar in the ant script it makes an executable jar.

Hendro Lim wrote:

>Hello,
>Previously I posted to nist-jain list and my post never showed up.
>Thanks for directing me to the right list.
>
>I try compiling sip-communicator as a standalone windows executable using
>Jbuilder 2005. The weird thing is that, when I run sip-communicator
directly
>>from Jbuilder, then make a call or receive a call, there is no exception
and
>I can hear the alerting, etc.
>
>But, when I run the exactly same .exe(without rebuilding) from explorer,
>there is an exception, and I cannot hear or transmit any voice.
>The same thing happen with the .jar file created in the same compiling
>process when I run it from command line.
>
>I also compile using Ant from command line, and the resulted .jar file is
>running ok.
>
>The problem is I want to create a native .exe for Windows for the sake of
>easy execution.
>
>Anybody experience this? Anybody can suggest a way out?
>
>Thanks you for your kind response,
>Hendro Lim
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>
>
>
>

--
    Best Regards,
    Damian Minkov

    COSMOS Software Enterprises, Ltd.
    Tel: (+359-2) 983-32-62
    Mobile: (+359-88) 853-28-25
    E-Mail: damian@space-comm.com
    http://www.space-comm.com

    Post address:
       P. O. Box 941,
       1000 Sofia,
       Bulgaria

    Office address:
       ap. 9, fl. 4,
       "11 August" str., No. 43,
       1202 Sofia,
       Bulgaria

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Oops, :slight_smile:
You're right, that's what it's called. Native executable.
The .jar file from ant is compiled using the target name jar.
Still, I want to create the .exe file. Any comment will be appreciated

Regards,
Hendro Lim

···

-----Original Message-----
From: Damian Minkov [mailto:damian@space-comm.com]
Sent: Selasa, 25 Januari 2005 20:21
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Question about weird sip-behaviour

JBuilder doesn't makes native exe. It just makes native executable.
Nothing more than 'java -jar SC.jar' for example. There is a target
named jar in the ant script it makes an executable jar.

Hendro Lim wrote:

>Hello,
>Previously I posted to nist-jain list and my post never showed up.
>Thanks for directing me to the right list.
>
>I try compiling sip-communicator as a standalone windows executable
>using Jbuilder 2005. The weird thing is that, when I run
>sip-communicator directly from Jbuilder, then make a call or
receive a
>call, there is no exception and I can hear the alerting, etc.
>
>But, when I run the exactly same .exe(without rebuilding) from
>explorer, there is an exception, and I cannot hear or transmit any
>voice. The same thing happen with the .jar file created in the same
>compiling process when I run it from command line.
>
>I also compile using Ant from command line, and the resulted
.jar file
>is running ok.
>
>The problem is I want to create a native .exe for Windows
for the sake
>of easy execution.
>
>Anybody experience this? Anybody can suggest a way out?
>
>Thanks you for your kind response,
>Hendro Lim
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net
>
>
>
>

--
    Best Regards,
    Damian Minkov

    COSMOS Software Enterprises, Ltd.
    Tel: (+359-2) 983-32-62
    Mobile: (+359-88) 853-28-25
    E-Mail: damian@space-comm.com
    http://www.space-comm.com

    Post address:
       P. O. Box 941,
       1000 Sofia,
       Bulgaria

    Office address:
       ap. 9, fl. 4,
       "11 August" str., No. 43,
       1202 Sofia,
       Bulgaria

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

IIRC Damian tried to do that a while ago using GCJ ( http://www.thisiscool.com/gcc_mingw.htm ) but got stuck at the JMF compilation. I am not aware if there is another way to do that.

Cheers
Emil
Hendro Lim wrote:

···

Oops, :slight_smile:
You're right, that's what it's called. Native executable.
The .jar file from ant is compiled using the target name jar. Still, I want to create the .exe file. Any comment will be appreciated

Regards,
Hendro Lim

-----Original Message-----
From: Damian Minkov [mailto:damian@space-comm.com] Sent: Selasa, 25 Januari 2005 20:21
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Question about weird sip-behaviour

JBuilder doesn't makes native exe. It just makes native executable. Nothing more than 'java -jar SC.jar' for example. There is a target named jar in the ant script it makes an executable jar.

Hendro Lim wrote:

Hello,
Previously I posted to nist-jain list and my post never showed up.
Thanks for directing me to the right list.

I try compiling sip-communicator as a standalone windows executable using Jbuilder 2005. The weird thing is that, when I run sip-communicator directly from Jbuilder, then make a call or
     

receive a
   

call, there is no exception and I can hear the alerting, etc.

But, when I run the exactly same .exe(without rebuilding) from explorer, there is an exception, and I cannot hear or transmit any voice. The same thing happen with the .jar file created in the same compiling process when I run it from command line.

I also compile using Ant from command line, and the resulted
     

.jar file
   

is running ok.

The problem is I want to create a native .exe for Windows
     

for the sake
   

of easy execution.

Anybody experience this? Anybody can suggest a way out?

Thanks you for your kind response,
Hendro Lim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:
     

dev-help@sip-communicator.dev.java.net
   

--
   Best Regards,
   Damian Minkov

   COSMOS Software Enterprises, Ltd.
   Tel: (+359-2) 983-32-62
   Mobile: (+359-88) 853-28-25
   E-Mail: damian@space-comm.com
   http://www.space-comm.com

   Post address:
      P. O. Box 941,
      1000 Sofia,
      Bulgaria

   Office address:
      ap. 9, fl. 4,
      "11 August" str., No. 43,
      1202 Sofia,
      Bulgaria

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hello,
I've downloaded the evaluation version and will try it asap.
But, before I'm there, can anybody figure out what's wrong here?
This is the debug info when I run the .exe(created by Jbuilder):

....
821 [main] TRACE config.ConfigurationPanel - [exit] jbInit
821 [main] TRACE common.PropertiesDepot - [entry] loadProperties
821 [main] TRACE common.PropertiesDepot - [entry] traverseConfigurationFile
821 [main] TRACE common.PropertiesDepot - [entry] getConfigurationFile
821 [main] TRACE common.PropertiesDepot - work dir exists
821 [main] TRACE common.PropertiesDepot - [exit] getConfigurationFile
831 [main] TRACE common.PropertiesDepot - [exit] traverseConfigurationFile
831 [main] TRACE common.PropertiesDepot - [exit] loadProperties
831 [main] DEBUG common.PropertiesDepot -
getProperty[user.home=C:\Documents an
d Settings\hendro]
851 [main] DEBUG gui.GuiManager - We are running the sipphone edition and
will
add the my.sipphone browse launchers
871 [main] TRACE communicator.SipCommunicator - [exit] <init>
871 [main] TRACE communicator.SipCommunicator - [exit] main
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/Controlle
rListener
        at
net.java.sip.communicator.media.MediaManager.<init>(MediaManager.java
:98)
        at
net.java.sip.communicator.SipCommunicator.<init>(SipCommunicator.java
:113)
        at
net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:2
74)

I guess there must be configuration problem, but I can not find anything
missing, especially, JMF is in place.

Thanks for looking,
Hendro Lim

···

-----Original Message-----
From: Thorsten K. [mailto:Pathfind@gmx.de]
Sent: Selasa, 25 Januari 2005 21:12
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Question about weird sip-behaviour

Hi!

Use a JAVA Native Compiler like Excelsior JET:

http://www.excelsior-usa.com/jet.html

There are others (even freeware), but they do not support AWT / SWING.

Regards
Thorsten Kummermehr

> JBuilder doesn't makes native exe. It just makes native executable.
> Nothing more than 'java -jar SC.jar' for example. There is a target
> named jar in the ant script it makes an executable jar.
>
> Hendro Lim wrote:
>
> >Hello,
> >Previously I posted to nist-jain list and my post never showed up.
> >Thanks for directing me to the right list.
> >
> >I try compiling sip-communicator as a standalone windows
executable
> >using Jbuilder 2005. The weird thing is that, when I run
> >sip-communicator
> directly
> >>from Jbuilder, then make a call or receive a call, there is no
> >>exception
> and
> >I can hear the alerting, etc.
> >
> >But, when I run the exactly same .exe(without rebuilding) from
> >explorer, there is an exception, and I cannot hear or transmit any
> >voice. The same thing happen with the .jar file created in
the same
> >compiling process when I run it from command line.
> >
> >I also compile using Ant from command line, and the resulted .jar
> >file is running ok.
> >
> >The problem is I want to create a native .exe for Windows for the
> >sake of easy execution.
> >
> >Anybody experience this? Anybody can suggest a way out?
> >
> >Thanks you for your kind response,
> >Hendro Lim
> >
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
dev-unsubscribe@sip-communicator.dev.java.net
> >For additional commands, e-mail:
> >dev-help@sip-communicator.dev.java.net
> >
> >
> >
> >
>
>
> --
> Best Regards,
> Damian Minkov
>
> COSMOS Software Enterprises, Ltd.
> Tel: (+359-2) 983-32-62
> Mobile: (+359-88) 853-28-25
> E-Mail: damian@space-comm.com
> http://www.space-comm.com
>
> Post address:
> P. O. Box 941,
> 1000 Sofia,
> Bulgaria
>
> Office address:
> ap. 9, fl. 4,
> "11 August" str., No. 43,
> 1202 Sofia,
> Bulgaria
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail:
> dev-help@sip-communicator.dev.java.net
>

--
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#7

It seems that JMF is not really in your classpath ... Or at least not completely. Verify that all its classes are included in the .exe archive generated by JBuilder

Emil

Hendro Lim wrote:

···

Hello,
I've downloaded the evaluation version and will try it asap.
But, before I'm there, can anybody figure out what's wrong here? This is the debug info when I run the .exe(created by Jbuilder):

....
821 [main] TRACE config.ConfigurationPanel - [exit] jbInit
821 [main] TRACE common.PropertiesDepot - [entry] loadProperties
821 [main] TRACE common.PropertiesDepot - [entry] traverseConfigurationFile
821 [main] TRACE common.PropertiesDepot - [entry] getConfigurationFile
821 [main] TRACE common.PropertiesDepot - work dir exists
821 [main] TRACE common.PropertiesDepot - [exit] getConfigurationFile
831 [main] TRACE common.PropertiesDepot - [exit] traverseConfigurationFile
831 [main] TRACE common.PropertiesDepot - [exit] loadProperties
831 [main] DEBUG common.PropertiesDepot -
getProperty[user.home=C:\Documents an
d Settings\hendro]
851 [main] DEBUG gui.GuiManager - We are running the sipphone edition and
will
add the my.sipphone browse launchers
871 [main] TRACE communicator.SipCommunicator - [exit] <init>
871 [main] TRACE communicator.SipCommunicator - [exit] main
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/Controlle
rListener
        at
net.java.sip.communicator.media.MediaManager.<init>(MediaManager.java
:98)
        at
net.java.sip.communicator.SipCommunicator.<init>(SipCommunicator.java
:113)
        at
net.java.sip.communicator.SipCommunicator.main(SipCommunicator.java:2
74)

I guess there must be configuration problem, but I can not find anything
missing, especially, JMF is in place.

Thanks for looking,
Hendro Lim

-----Original Message-----
From: Thorsten K. [mailto:Pathfind@gmx.de] Sent: Selasa, 25 Januari 2005 21:12
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Question about weird sip-behaviour

Hi!

Use a JAVA Native Compiler like Excelsior JET:

http://www.excelsior-usa.com/jet.html

There are others (even freeware), but they do not support AWT / SWING.

Regards
Thorsten Kummermehr

JBuilder doesn't makes native exe. It just makes native executable.
Nothing more than 'java -jar SC.jar' for example. There is a target named jar in the ant script it makes an executable jar.

Hendro Lim wrote:

Hello,
Previously I posted to nist-jain list and my post never showed up.
Thanks for directing me to the right list.

I try compiling sip-communicator as a standalone windows

executable

using Jbuilder 2005. The weird thing is that, when I run sip-communicator

directly

from Jbuilder, then make a call or receive a call, there is no

exception

and

I can hear the alerting, etc.

But, when I run the exactly same .exe(without rebuilding) from explorer, there is an exception, and I cannot hear or transmit any voice. The same thing happen with the .jar file created in

the same

compiling process when I run it from command line.

I also compile using Ant from command line, and the resulted .jar file is running ok.

The problem is I want to create a native .exe for Windows for the sake of easy execution.

Anybody experience this? Anybody can suggest a way out?

Thanks you for your kind response,
Hendro Lim

---------------------------------------------------------------------

To unsubscribe, e-mail:

dev-unsubscribe@sip-communicator.dev.java.net

For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
   Best Regards,
   Damian Minkov

   COSMOS Software Enterprises, Ltd.
   Tel: (+359-2) 983-32-62
   Mobile: (+359-88) 853-28-25
   E-Mail: damian@space-comm.com
   http://www.space-comm.com

   Post address:
      P. O. Box 941,
      1000 Sofia,
      Bulgaria

   Office address:
      ap. 9, fl. 4,
      "11 August" str., No. 43,
      1202 Sofia,
      Bulgaria

---------------------------------------------------------------------

To unsubscribe, e-mail:

dev-unsubscribe@sip-communicator.dev.java.net

For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net