You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Rene' Rosenbaum <re...@meecoda.de> on 2013/12/16 17:42:52 UTC

org.openlaszlo.sc.CompilerError: tunit/line unknown

Hi all,
I just checked out OM2.1 sources modified by a colleague of mine. They 
compile well on his machine, but fail on mine (from cmd line and 
Eclipse) with the following err:
------------
/jar://
//-retrieve-openlaszlo46://
//compile.laszlo.main.debug.as3://
//-compile.flash://
//     [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf//
//     [java] Compilation errors occurred://
//     [java] org.openlaszlo.sc.CompilerError: tunit/line unknown: , in 
line: Error loading: C:\Program Files\Java\jdk1.6\jre\bin\server\jvm.dll//
//
//BUILD FAILED//
//...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:544: The 
following error occurred while executing this line://
//...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:485: Java 
returned: 2/
-------------

I updated the JDK (to 1.6_45) and searched the web for a solution, but 
without success. All I found was a response from Maxime to a similar bug 
report (solution: none, as limitation of OpenLaszlo compiler). However, 
this bug was reported using JDK 1.7. I'm wondering what I'm doing wrong 
here with JDK1.6. Anyone any idea? Help is highly appreciated!!!
Cheers,
Rene'
-- 

~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT  *  - Consulting and Services
  ~: Neue Reihe 15, 18182 Goorstorf, Germany
  #: ++49-(0)-1781408041
  @:info@meecoda.de  <ma...@meecoda.de>
//:www.meecoda.de  <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~


Re: org.openlaszlo.sc.CompilerError: tunit/line unknown

Posted by Rene' Rosenbaum <re...@meecoda.de>.
Dear Maxim,
your solution works like a charm! Was able to compile when using 
x86-JAVA ...
Thanks (once again) for your quick support,
Rene'

~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT  *  - Consulting and Services
  ~: Neue Reihe 15, 18182 Goorstorf, Germany
  #: ++49-(0)-1781408041
  @:info@meecoda.de  <ma...@meecoda.de>
//:www.meecoda.de  <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~

On 12/17/2013 12:32 PM, Rene' Rosenbaum wrote:
> Hi Maxim,
> thanks a lot for your quick answer. Will try today and let you all 
> know how this went.
> regards,
> Rene'
>
> ~~~~~~~
> *Dr.-Ing. Rene' Rosenbaum
> meeCoda^IT  *  - Consulting and Services
>  ~: Neue Reihe 15, 18182 Goorstorf, Germany
>  #: ++49-(0)-1781408041
>  @:info@meecoda.de  <ma...@meecoda.de>
> //:www.meecoda.de  <http://www.meecoda.de>
> ~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~
>
> On 12/16/2013 5:53 PM, Maxim Solodovnik wrote:
>> Sometimes OM failed to compile using x64 version of Java on Windows 
>> machine
>> Try compiling using x32 version of Java
>>
>>
>> On Mon, Dec 16, 2013 at 11:42 PM, Rene' Rosenbaum <rene@meecoda.de 
>> <ma...@meecoda.de>> wrote:
>>
>>     Hi all,
>>     I just checked out OM2.1 sources modified by a colleague of mine.
>>     They compile well on his machine, but fail on mine (from cmd line
>>     and Eclipse) with the following err:
>>     ------------
>>     /jar://
>>     //-retrieve-openlaszlo46://
>>     //compile.laszlo.main.debug.as3://
>>     //-compile.flash://
>>     //     [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf//
>>     //     [java] Compilation errors occurred://
>>     //     [java] org.openlaszlo.sc
>>     <http://org.openlaszlo.sc>.CompilerError: tunit/line unknown: , in
>>     line: Error loading: C:\Program
>>     Files\Java\jdk1.6\jre\bin\server\jvm.dll//
>>     //
>>     //BUILD FAILED//
>> //...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:544:
>>     The following error occurred while executing this line://
>> //...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:485:
>>     Java returned: 2/
>>     -------------
>>
>>     I updated the JDK (to 1.6_45) and searched the web for a solution,
>>     but without success. All I found was a response from Maxime to a
>>     similar bug report (solution: none, as limitation of OpenLaszlo
>>     compiler). However, this bug was reported using JDK 1.7. I'm
>>     wondering what I'm doing wrong here with JDK1.6. Anyone any idea?
>>     Help is highly appreciated!!!
>>     Cheers,
>>     Rene'
>>     --
>>     ~~~~~~~
>>     *Dr.-Ing. Rene' Rosenbaum
>>     meeCoda^IT  *  - Consulting and Services
>>      ~: Neue Reihe 15, 18182 Goorstorf, Germany
>>      #: ++49-(0)-1781408041
>>      @:info@meecoda.de <ma...@meecoda.de>
>>      <mailto:info@meecoda.de <ma...@meecoda.de>>
>>     //:www.meecoda.de <http://www.meecoda.de> <http://www.meecoda.de>
>>     ~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~
>>
>>
>>
>>
>> -- 
>> WBR
>> Maxim aka solomax
>
>


Re: org.openlaszlo.sc.CompilerError: tunit/line unknown

Posted by Rene' Rosenbaum <re...@meecoda.de>.
Hi Maxim,
thanks a lot for your quick answer. Will try today and let you all know 
how this went.
regards,
Rene'

~~~~~~~
*Dr.-Ing. Rene' Rosenbaum
meeCoda^IT  *  - Consulting and Services
  ~: Neue Reihe 15, 18182 Goorstorf, Germany
  #: ++49-(0)-1781408041
  @:info@meecoda.de  <ma...@meecoda.de>
//:www.meecoda.de  <http://www.meecoda.de>
~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~

On 12/16/2013 5:53 PM, Maxim Solodovnik wrote:
> Sometimes OM failed to compile using x64 version of Java on Windows 
> machine
> Try compiling using x32 version of Java
>
>
> On Mon, Dec 16, 2013 at 11:42 PM, Rene' Rosenbaum <rene@meecoda.de 
> <ma...@meecoda.de>> wrote:
>
>     Hi all,
>     I just checked out OM2.1 sources modified by a colleague of mine.
>     They compile well on his machine, but fail on mine (from cmd line
>     and Eclipse) with the following err:
>     ------------
>     /jar://
>     //-retrieve-openlaszlo46://
>     //compile.laszlo.main.debug.as3://
>     //-compile.flash://
>     //     [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf//
>     //     [java] Compilation errors occurred://
>     //     [java] org.openlaszlo.sc
>     <http://org.openlaszlo.sc>.CompilerError: tunit/line unknown: , in
>     line: Error loading: C:\Program
>     Files\Java\jdk1.6\jre\bin\server\jvm.dll//
>     //
>     //BUILD FAILED//
>     //...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:544:
>     The following error occurred while executing this line://
>     //...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:485:
>     Java returned: 2/
>     -------------
>
>     I updated the JDK (to 1.6_45) and searched the web for a solution,
>     but without success. All I found was a response from Maxime to a
>     similar bug report (solution: none, as limitation of OpenLaszlo
>     compiler). However, this bug was reported using JDK 1.7. I'm
>     wondering what I'm doing wrong here with JDK1.6. Anyone any idea?
>     Help is highly appreciated!!!
>     Cheers,
>     Rene'
>     -- 
>
>     ~~~~~~~
>     *Dr.-Ing. Rene' Rosenbaum
>     meeCoda^IT  *  - Consulting and Services
>      ~: Neue Reihe 15, 18182 Goorstorf, Germany
>      #: ++49-(0)-1781408041
>      @:info@meecoda.de <ma...@meecoda.de>
>      <mailto:info@meecoda.de <ma...@meecoda.de>>
>     //:www.meecoda.de <http://www.meecoda.de>  <http://www.meecoda.de>
>     ~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: org.openlaszlo.sc.CompilerError: tunit/line unknown

Posted by Maxim Solodovnik <so...@gmail.com>.
Sometimes OM failed to compile using x64 version of Java on Windows machine
Try compiling using x32 version of Java


On Mon, Dec 16, 2013 at 11:42 PM, Rene' Rosenbaum <re...@meecoda.de> wrote:

> Hi all,
> I just checked out OM2.1 sources modified by a colleague of mine. They
> compile well on his machine, but fail on mine (from cmd line and Eclipse)
> with the following err:
> ------------
> /jar://
> //-retrieve-openlaszlo46://
> //compile.laszlo.main.debug.as3://
> //-compile.flash://
> //     [java] Compiling: main.as3.lzx to maindebug.as3.swf11.swf//
> //     [java] Compilation errors occurred://
> //     [java] org.openlaszlo.sc.CompilerError: tunit/line unknown: , in
> line: Error loading: C:\Program Files\Java\jdk1.6\jre\bin\server\jvm.dll//
> //
> //BUILD FAILED//
> //...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:544: The
> following error occurred while executing this line://
> //...\OpenMeetings\Code\Openmeetings-shared\trunk\build.xml:485: Java
> returned: 2/
> -------------
>
> I updated the JDK (to 1.6_45) and searched the web for a solution, but
> without success. All I found was a response from Maxime to a similar bug
> report (solution: none, as limitation of OpenLaszlo compiler). However,
> this bug was reported using JDK 1.7. I'm wondering what I'm doing wrong
> here with JDK1.6. Anyone any idea? Help is highly appreciated!!!
> Cheers,
> Rene'
> --
>
> ~~~~~~~
> *Dr.-Ing. Rene' Rosenbaum
> meeCoda^IT  *  - Consulting and Services
>  ~: Neue Reihe 15, 18182 Goorstorf, Germany
>  #: ++49-(0)-1781408041
>  @:info@meecoda.de  <ma...@meecoda.de>
> //:www.meecoda.de  <http://www.meecoda.de>
> ~~~~~~~~~~~~~~ +++ ~~~~~~~~~~~~~~~~
>
>


-- 
WBR
Maxim aka solomax