From: "Andy Willis" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.1.16) with ESMTP id 2340301 for os2-wireless_users@2rosenthals.com; Fri, 27 Feb 2009 13:35:54 -0500 Received: from static-71-171-102-26.clppva.fios.verizon.net ([71.171.102.26] helo=mail2.2rosenthals.com) by secmgr-ny.randr with esmtps (TLSv1:AES256-SHA:256) (Exim 4.43) id 1Ld7Ys-0003H9-Kw for os2-wireless_users@2rosenthals.com; Fri, 27 Feb 2009 13:35:54 -0500 Received: from fg-out-1718.google.com ([72.14.220.158]:28927) by mail2.2rosenthals.com with esmtp (Exim 4.69) (envelope-from ) id 1Ld7Yp-0007P8-1K for os2-wireless_users@2rosenthals.com; Fri, 27 Feb 2009 13:35:47 -0500 Received: by fg-out-1718.google.com with SMTP id l26so634490fgb.31 for ; Fri, 27 Feb 2009 10:35:46 -0800 (PST) X-CTCH-RefID: str=0001.0A01020A.49A83283.0195,ss=1,fgs=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=CornD3tg40fc09dE9EWBkoCzbU2WL4LDv1UidpdMoYE=; b=wS0pHPzy9v9ahkF7jlyVwr3ic5Cv4zldTfvXL6tjjUDYk/HIm/uiIWS0zq6Bfq3sgL l7yKIYzL9fLE3Gdg1aGHPx3ooCqQ/yIQqklocdw8WdEzFtiSteaeM4ik5U8yFxrT18lX 5eJG1Mo3Wf6Jqyz/YimhsyNv4LvhFbg8w/dDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xiTT8rUqLbnjv62POet9mgip88BxzRJ1ihxIWU6XjE9Cf2AxbTtTzMzLqj2tq3uJ6I FxjcXnEmVxhQ8ivFWUmtTRxn6eW244s16tn6Ne77a/5k55PM/qBLJh11HRaL3N71xFJG IKGBach8wG6qClq+lGrT55QieKryeh0KjpsRw= Received: by 10.86.65.9 with SMTP id n9mr4381933fga.55.1235759746019; Fri, 27 Feb 2009 10:35:46 -0800 (PST) Received: from ?192.168.0.3? (71-208-160-18.hlrn.qwest.net [71.208.160.18]) by mx.google.com with ESMTPS id u14sm7273328gvf.31.2009.02.27.10.35.43 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Feb 2009 10:35:45 -0800 (PST) Message-ID: <49A8327D.2030003@gmail.com> Date: Fri, 27 Feb 2009 11:35:41 -0700 Reply-To: abwillis1@gmail.com User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; rv:1.9.1b3pre) Gecko/20090216 SeaMonkey/2.0a3pre not(Firefox/3.2) MIME-Version: 1.0 To: OS/2 Wireless Users Mailing List Subject: Re: [OS2Wireless] JAVA SIP CLIENT References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.4 (++) X-Spam-Report: 1.0 RCVD_BY_IP Received by mail server with no name 1.4 DNS_FROM_RFC_POST RBL: Envelope sender in postmaster.rfc-ignorant.org Ed Durrant wrote: > Andy Willis wrote: >> Ed Durrant wrote: >>> Andy Willis wrote: >>>> Andy Willis wrote: >>>>> Ed Durrant wrote: >>>>>> Jeffrey Race wrote: >>>>>>> On Wed, 25 Feb 2009 09:01:34 +0000 (GMT), Dave Saville wrote: >>>>>>>> If you did I missed it. I had a look around for my VOIP >>>>>>>> presentation at >>>>>>>> last years Warpstock Europe and found nothing then. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Install JAR works fine but trying to convert the run shell script >>>>>> that it installs into an OS/2 CMD file it has a class not found >>>>>> error on startup. >>>>>> >>>>>> So I'm going to need to take some more time over this. >>>>>> >>>>>> The client is not just an audio SIP VOIP client and IM client but >>>>>> also a video client - that part is never going to work on >>>>>> eComstation or OS/2 as we don't have webcam support AFAIK. >>>>>> >>>>>> Cheers/2 >>>>>> >>>>> I haven't played with it yet to see what works/doesn't but I got a >>>>> logon screen with: >>>>> java -classpath >>>>> "lib/jdic-all.jar;lib/jdic_stub.jar;lib/felix.jar;lib/bcprovider.jar;sc-bundles/sc-launcher.jar;sc-bundles/util.jar" >>>>> -Djava.library.path=native >>>>> -Dfelix.config.properties=file:./lib/felix.client.run.properties >>>>> -Djava.util.logging.config.file=lib/logging.properties >>>>> net.java.sip.communicator.launcher.SIPCommunicator >>>>> I'm using Java 1.5.0_07. >>>>> Andy >>>> Well, I only logged into MSN so far as it quit working with SIM but >>>> it looks like AIM, Google Talk (same as Jabber but apparently >>>> already setup), ICQ, Jabber, Yahoo, and a few others I've never >>>> heard of will work. I don't know if SIP will work as I don't have >>>> any Audio devices showing under options and don't know what/why >>>> that is the case. >>>> Andy >>>> >>>> >>> Hi Andy, >>> >>> I'm trying to get the code to even load. When I try it under OS/2 >>> (V 1.4 Java) it fails with and error message. >>> >>> When I run it under Java 1.5 under Innowin it gives no errors but >>> nothing loads. When I try javaw.exe instead of java.exe it say it >>> can't find the main class. >>> >>> If you have a CMD file can you post it here please ? >>> >>> The unix shell (a modified version of which I have based my attempts >>> on) is as below: >>> mkdir -p $HOME/.sip-communicator/log >>> export PATH=$PATH:native >>> java -classpath >>> "lib/jdic-all.jar:lib/jdic_stub.jar:lib/felix.jar:lib/bcprovider.jar:sc-bundles/sc-launcher.jar:sc-bundles/util.jar" >>> -Djava.library.path=native >>> -Dfelix.config.properties=file:./lib/felix.client.run.properties >>> -Djava.util.logging.config.file=lib/logging.properties >>> net.java.sip.communicator.launcher.SIPCommunicator >>> >>> Does the export native line (which I don't have an OS/2 equivalent >>> for), have any significance ? >>> >>> Cheers/2 >>> >>> Ed. >>> >> The line I posted previously is my CMD file, which all I did was >> switch the colons and semi-colons around from the way it is in the >> run.sh. >> java -classpath >> "lib/jdic-all.jar;lib/jdic_stub.jar;lib/felix.jar;lib/bcprovider.jar;sc-bundles/sc-launcher.jar;sc-bundles/util.jar" >> -Djava.library.path=native >> -Dfelix.config.properties=file:./lib/felix.client.run.properties >> -Djava.util.logging.config.file=lib/logging.properties >> net.java.sip.communicator.launcher.SIPCommunicator >> I don't believe it will work with Java 1.4.x, at least I wasn't able >> to get it to so far (though alpha 2 might, one of the changes with >> alpha 3 was to move to Java 1.5). >> Andy >> >> >> > Thanks I hadn't seen the change from semicolon to colon - that may be > the key. I presume you have created a java.cmd file to run apps with > Windows Java 1.5 under ODIN (or Innowin)? When I try to run the > complete config (Innowin and 1.5 java paths included) the command line > is too long for OS/2. > > It'll be interesting to see how this works, I'd expect the IM side to > work OK, but connecting to OS/2 audio queues (via windows Java and > ODIN) for the SIP Phone part (which is what we are looking at this > for) may be a different matter. > > Cheers/2 > > Ed. Here is my java15.cmd SET PATH=e:\programs\jre15\bin;%PATH% SET CLASSPATH= set java_home=e:\programs\jre15 SET JAVA2_USERHOME=e:\usr\abwillis To get Java 1.5,0_07 (the only version that works) to function under OS/2 I installed it under Windows. I then copied the directory it installed in to my OS/2 system (you see the path above) and then I copied all the executables from my Java 1.4.2_09 installation over the executables in the 1.5 installation (e.g. java.exe, javaw.exe, etc). I also copied the j2win.dll file over. Then I use Java 1.5 as I would Java 1.4, with the exception of the plugin which I haven't figured out anything for yet. This assumes that Java 1.4.2_09 was previously installed as it sets up the registry entries. Andy