Re: some question about drlvm

2006-08-09 Thread Alexey Varlamov

09 Aug 2006 11:49:35 +0700, Egor Pasko [EMAIL PROTECTED]:

Hi,

sorry for my being sooo late. Busy as always. I am tryin try to be faster :)

On the 0x1BA day of Apache Harmony [EMAIL PROTECTED] wrote:
 I am sorry so late to reply.
 en, i use command
 EM: compile start:[JET n=1816]
 java/util/Hashtable::elements()Ljava/util/Enumeration;
 EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
 EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
 EM: compile done:[JET n=1816: OK]
 java/util/Hashtable::elements()Ljava/util/Enumeration;
 EM: compile start:[JET n=1818]
 java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
 EM: compile done:[JET n=1818: OK]
 java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
 EM: compile start:[JET n=1819]
 java/util/Hashtable$HashEnumerator::hasMoreElements()Z
 EM: compile done:[JET n=1819: OK]
 java/util/Hashtable$HashEnumerator::hasMoreElements()Z
 EM: compile start:[JET n=1820]
 java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
 EM: compile done:[JET n=1820: OK]
 java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
  EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
  EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
  EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
  EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
  EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
  EM: compile done:[JET n=1823: OK]
 java/lang/VMExecutionEngine::exit(IZ)V

 is the last method to be compiled.

Thanks for investigation!

Looks like your app hangs just before the VM exit. That's a strange
problem I've never seen before. Possibly, it is easy to reduce the app
into a quite small piece of code that hangs in the same way. Then I
could reproduce it on my machine...

Does it look like a happy doing?

Otherwise, I see no obvious ways to investigate further :(



Well, as a last resort, we could try to look at total trace log, not EM only.

Zouqiong,

Could you please try with the following options:

1) -Xint -Xcategory -Xthread Xtrace:root:int.log
2) -Xcategory -Xthread -Xtrace:root:jit.log

Resulting files (int.log and jit.log) may be quite massive, just zip
them and attach to JIRA, please.

--
Alexey


--
Egor Pasko, Intel Managed Runtime Division


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-08-09 Thread Egor Pasko
On the 0x1C0 day of Apache Harmony Alexey Varlamov wrote:
 09 Aug 2006 11:49:35 +0700, Egor Pasko [EMAIL PROTECTED]:
  Hi,
 
  sorry for my being sooo late. Busy as always. I am tryin try to be faster :)
 
  On the 0x1BA day of Apache Harmony [EMAIL PROTECTED] wrote:
   I am sorry so late to reply.
   en, i use command
   EM: compile start:[JET n=1816]
   java/util/Hashtable::elements()Ljava/util/Enumeration;
   EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
   EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
   EM: compile done:[JET n=1816: OK]
   java/util/Hashtable::elements()Ljava/util/Enumeration;
   EM: compile start:[JET n=1818]
   java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
   EM: compile done:[JET n=1818: OK]
   java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
   EM: compile start:[JET n=1819]
   java/util/Hashtable$HashEnumerator::hasMoreElements()Z
   EM: compile done:[JET n=1819: OK]
   java/util/Hashtable$HashEnumerator::hasMoreElements()Z
   EM: compile start:[JET n=1820]
   java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
   EM: compile done:[JET n=1820: OK]
   java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
EM: compile done:[JET n=1823: OK]
   java/lang/VMExecutionEngine::exit(IZ)V
  
   is the last method to be compiled.
 
  Thanks for investigation!
 
  Looks like your app hangs just before the VM exit. That's a strange
  problem I've never seen before. Possibly, it is easy to reduce the app
  into a quite small piece of code that hangs in the same way. Then I
  could reproduce it on my machine...
 
  Does it look like a happy doing?
 
  Otherwise, I see no obvious ways to investigate further :(
 
 
 Well, as a last resort, we could try to look at total trace log, not EM only.
 
 Zouqiong,
 
 Could you please try with the following options:
 
 1) -Xint -Xcategory -Xthread Xtrace:root:int.log
 2) -Xcategory -Xthread -Xtrace:root:jit.log

I love the options :)
And.. you can put -Xem opt and -Xem jet here as usual

-- 
Egor Pasko, Intel Managed Runtime Division


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-08-08 Thread Egor Pasko
Hi,

sorry for my being sooo late. Busy as always. I am tryin try to be faster :)

On the 0x1BA day of Apache Harmony [EMAIL PROTECTED] wrote:
 I am sorry so late to reply.
 en, i use command
 EM: compile start:[JET n=1816]
 java/util/Hashtable::elements()Ljava/util/Enumeration;
 EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
 EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
 EM: compile done:[JET n=1816: OK]
 java/util/Hashtable::elements()Ljava/util/Enumeration;
 EM: compile start:[JET n=1818]
 java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
 EM: compile done:[JET n=1818: OK]
 java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
 EM: compile start:[JET n=1819]
 java/util/Hashtable$HashEnumerator::hasMoreElements()Z
 EM: compile done:[JET n=1819: OK]
 java/util/Hashtable$HashEnumerator::hasMoreElements()Z
 EM: compile start:[JET n=1820]
 java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
 EM: compile done:[JET n=1820: OK]
 java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
  EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
  EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
  EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
  EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
  EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
  EM: compile done:[JET n=1823: OK]
 java/lang/VMExecutionEngine::exit(IZ)V
 
 is the last method to be compiled.

Thanks for investigation!

Looks like your app hangs just before the VM exit. That's a strange
problem I've never seen before. Possibly, it is easy to reduce the app
into a quite small piece of code that hangs in the same way. Then I
could reproduce it on my machine...

Does it look like a happy doing?

Otherwise, I see no obvious ways to investigate further :(

-- 
Egor Pasko, Intel Managed Runtime Division


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-08-03 Thread zouqiong

I am sorry so late to reply.
en, i use command
EM: compile start:[JET n=1816]
java/util/Hashtable::elements()Ljava/util/Enumeration;
EM: compile start:[JET n=1817] java/lang/EMThreadSupport::shutdown()V
EM: compile done:[JET n=1817: OK] java/lang/EMThreadSupport::shutdown()V
EM: compile done:[JET n=1816: OK]
java/util/Hashtable::elements()Ljava/util/Enumeration;
EM: compile start:[JET n=1818]
java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
EM: compile done:[JET n=1818: OK]
java/util/Hashtable$HashEnumerator::init(Ljava/util/Hashtable;Z)V
EM: compile start:[JET n=1819]
java/util/Hashtable$HashEnumerator::hasMoreElements()Z
EM: compile done:[JET n=1819: OK]
java/util/Hashtable$HashEnumerator::hasMoreElements()Z
EM: compile start:[JET n=1820]
java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
EM: compile done:[JET n=1820: OK]
java/util/Hashtable$HashEnumerator::nextElement()Ljava/lang/Object;
EM: compile start:[JET n=1821] java/util/zip/ZipFile::close()V
EM: compile done:[JET n=1821: OK] java/util/zip/ZipFile::close()V
EM: compile start:[JET n=1822] java/util/Vector::removeAllElements()V
EM: compile done:[JET n=1822: OK] java/util/Vector::removeAllElements()V
EM: compile start:[JET n=1823] java/lang/VMExecutionEngine::exit(IZ)V
EM: compile done:[JET n=1823: OK]
java/lang/VMExecutionEngine::exit(IZ)V

is the last method to be compiled.


Re: some question about drlvm

2006-07-28 Thread Egor Pasko
On the 0x1B3 day of Apache Harmony [EMAIL PROTECTED] wrote:
 I rerun it, and it keeps running,  however no result comes out.
 or I  upload the jar file in two packages.

OK, we can investigate the problem directly on your machine. 
There are some basic steps I do as soon as I see some problem :)

* option to run in *interpreter mode*:
-Xint

If it passes, we can suspect a JIT. Then, no matter of results, it
makes sense to isolate a single JIT to figure out which JIT is more
unhealthy on your problem.

* option to run on *fast JIT* only:
-Xem jet

* Run on *optimizing JIT* only:
-Xem opt

if you find where the problem appears more precisely, we can
investigate further (with help of more extra options)

 2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
 
  Could you please run your application as the following:
 
  export
 
  LD_LIBRARY_PATH=/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin;
  /home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exe
  -jar
  EIOffice.jar
 
  And let me know about the results.
 
  Thanks,
  Vladimir.
 
 
  On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
  
   i download my java application on the web, and it`s open source.
   But i can`t upload it with jira, because the running of the jar file
   depend other files, and the size of all source is above 300M,
   and at most it can be compressed to 60M.
  
   This is the link i download the source
   http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642
  
   however, the application is developed by a Chinese group, it may bring
  you
   some
   difficulty.
  
   2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
   
On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:

 Hi, besides the mbox size, please also note the license issue before
 you forward your EIOffice.jar. :-)
   
   
Yes, this is important note. I've also thought about this.
   
   
 (Probably you can give a link of the original downloaded site. I
  don't
 know.)
   
   
   
Yes, if its license allows to make this :-).
   
Thanks,
Vladimir.
   
Thanks,
 xiaofeng

 On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
  Hi, Sir,
I am afraid, i can`t attach the java application with
 gmail,  maybe
  it`s too large??
  Its size is 24M,  within the 1G of gmail, isn`t it?
Is there other ways i can attach  my jar files?
 
 


  -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
  [EMAIL PROTECTED]


   
   
  
  
 
 

-- 
Egor Pasko, Intel Managed Runtime Division


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-28 Thread zouqiong

I rerun the application with option -Xint

and unlucily, it doesn`t pass,  keep running and nothing comes out.

The same with other options except with option -Xem opt.

with option -Xem opt,   many SIGSEGV in VM code. are printed.

28 Jul 2006 17:05:44 +0700, Egor Pasko [EMAIL PROTECTED]:


On the 0x1B3 day of Apache Harmony [EMAIL PROTECTED] wrote:
 I rerun it, and it keeps running,  however no result comes out.
 or I  upload the jar file in two packages.

OK, we can investigate the problem directly on your machine.
There are some basic steps I do as soon as I see some problem :)

* option to run in *interpreter mode*:
-Xint

If it passes, we can suspect a JIT. Then, no matter of results, it
makes sense to isolate a single JIT to figure out which JIT is more
unhealthy on your problem.

* option to run on *fast JIT* only:
-Xem jet

* Run on *optimizing JIT* only:
-Xem opt

if you find where the problem appears more precisely, we can
investigate further (with help of more extra options)

 2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
 
  Could you please run your application as the following:
 
  export
 
 
LD_LIBRARY_PATH=/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin;
 
/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exe
  -jar
  EIOffice.jar
 
  And let me know about the results.
 
  Thanks,
  Vladimir.
 
 
  On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
  
   i download my java application on the web, and it`s open source.
   But i can`t upload it with jira, because the running of the jar file
   depend other files, and the size of all source is above 300M,
   and at most it can be compressed to 60M.
  
   This is the link i download the source
   http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642
  
   however, the application is developed by a Chinese group, it may
bring
  you
   some
   difficulty.
  
   2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
   
On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:

 Hi, besides the mbox size, please also note the license issue
before
 you forward your EIOffice.jar. :-)
   
   
Yes, this is important note. I've also thought about this.
   
   
 (Probably you can give a link of the original downloaded site. I
  don't
 know.)
   
   
   
Yes, if its license allows to make this :-).
   
Thanks,
Vladimir.
   
Thanks,
 xiaofeng

 On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
  Hi, Sir,
I am afraid, i can`t attach the java application with
 gmail,  maybe
  it`s too large??
  Its size is 24M,  within the 1G of gmail, isn`t it?
Is there other ways i can attach  my jar files?
 
 


  -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail:
[EMAIL PROTECTED]
 For additional commands, e-mail:
  [EMAIL PROTECTED]


   
   
  
  
 
 

--
Egor Pasko, Intel Managed Runtime Division


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Best Regards,
Qiong,Zou


Re: some question about drlvm

2006-07-28 Thread Vladimir Gorr

Hi Zou,

I asked you to clarify what do your files for the H-992 issue mean?
Could you please answer me?

Thanks,
Vladimir.


On 7/28/06, zouqiong [EMAIL PROTECTED] wrote:


I rerun the application with option -Xint

and unlucily, it doesn`t pass,  keep running and nothing comes out.

The same with other options except with option -Xem opt.

with option -Xem opt,   many SIGSEGV in VM code. are printed.

28 Jul 2006 17:05:44 +0700, Egor Pasko [EMAIL PROTECTED]:

 On the 0x1B3 day of Apache Harmony [EMAIL PROTECTED] wrote:
  I rerun it, and it keeps running,  however no result comes out.
  or I  upload the jar file in two packages.

 OK, we can investigate the problem directly on your machine.
 There are some basic steps I do as soon as I see some problem :)

 * option to run in *interpreter mode*:
 -Xint

 If it passes, we can suspect a JIT. Then, no matter of results, it
 makes sense to isolate a single JIT to figure out which JIT is more
 unhealthy on your problem.

 * option to run on *fast JIT* only:
 -Xem jet

 * Run on *optimizing JIT* only:
 -Xem opt

 if you find where the problem appears more precisely, we can
 investigate further (with help of more extra options)

  2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
  
   Could you please run your application as the following:
  
   export
  
  

LD_LIBRARY_PATH=/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin;
  
 /home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exe
   -jar
   EIOffice.jar
  
   And let me know about the results.
  
   Thanks,
   Vladimir.
  
  
   On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
   
i download my java application on the web, and it`s open source.
But i can`t upload it with jira, because the running of the jar
file
depend other files, and the size of all source is above 300M,
and at most it can be compressed to 60M.
   
This is the link i download the source
http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642
   
however, the application is developed by a Chinese group, it may
 bring
   you
some
difficulty.
   
2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:

 On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:
 
  Hi, besides the mbox size, please also note the license issue
 before
  you forward your EIOffice.jar. :-)


 Yes, this is important note. I've also thought about this.


  (Probably you can give a link of the original downloaded site.
I
   don't
  know.)



 Yes, if its license allows to make this :-).

 Thanks,
 Vladimir.

 Thanks,
  xiaofeng
 
  On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
   Hi, Sir,
 I am afraid, i can`t attach the java application with
  gmail,  maybe
   it`s too large??
   Its size is 24M,  within the 1G of gmail, isn`t it?
 Is there other ways i can attach  my jar files?
  
  
 
 
  
-
  Terms of use :
http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
   [EMAIL PROTECTED]
 
 


   
   
  
  

 --
 Egor Pasko, Intel Managed Runtime Division


 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Best Regards,
Qiong,Zou




Re: some question about drlvm

2006-07-28 Thread Egor Pasko
On the 0x1B4 day of Apache Harmony [EMAIL PROTECTED] wrote:
 I rerun the application with option -Xint
 
 and unlucily, it doesn`t pass,  keep running and nothing comes out.

OK, you mean, the problem persists .. eh..

 The same with other options except with option -Xem opt.

OK, let's try to find out which method is the most unlucky and hangs :)
It is easy to find out which methods were compiled last:

.../java -Xem jet -Xtrace:em your options 2methods.compiled.txt

That's the JIT side. You can try other options to identify, what
happens. java -X for help on extra VM options.

 with option -Xem opt,   many SIGSEGV in VM code. are printed.

that's what I get in default mode now :(
GDB does not help, shows segfault in libc with corrupted (?) stack:
(gdb) bt
...
#9  0x56a00158 in ?? ()
#10 0x4077ef77 in _int_free () from /lib/tls/libc.so.6
Previous frame inner to this frame (corrupt stack?)

looks like somebody broke the build :)

You may try to checkout a more stable version, if it does not bother you
much. Then, you can use more tracing capabilities of optimizing JIT:

to dump *all method-entry* events (cool, heh?:) use options:
-Xem opt -Xjit ia32::itrace=on

Hope this helps...

 28 Jul 2006 17:05:44 +0700, Egor Pasko [EMAIL PROTECTED]:
 
  On the 0x1B3 day of Apache Harmony [EMAIL PROTECTED] wrote:
   I rerun it, and it keeps running,  however no result comes out.
   or I  upload the jar file in two packages.
 
  OK, we can investigate the problem directly on your machine.
  There are some basic steps I do as soon as I see some problem :)
 
  * option to run in *interpreter mode*:
  -Xint
 
  If it passes, we can suspect a JIT. Then, no matter of results, it
  makes sense to isolate a single JIT to figure out which JIT is more
  unhealthy on your problem.
 
  * option to run on *fast JIT* only:
  -Xem jet
 
  * Run on *optimizing JIT* only:
  -Xem opt
 
  if you find where the problem appears more precisely, we can
  investigate further (with help of more extra options)
 
   2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
   
Could you please run your application as the following:
   
export
   
   
  LD_LIBRARY_PATH=/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin;
   
  /home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exe
-jar
EIOffice.jar
   
And let me know about the results.
   
Thanks,
Vladimir.
   
   
On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:

 i download my java application on the web, and it`s open source.
 But i can`t upload it with jira, because the running of the jar file
 depend other files, and the size of all source is above 300M,
 and at most it can be compressed to 60M.

 This is the link i download the source
 http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642

 however, the application is developed by a Chinese group, it may
  bring
you
 some
 difficulty.

 2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
 
  On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:
  
   Hi, besides the mbox size, please also note the license issue
  before
   you forward your EIOffice.jar. :-)
 
 
  Yes, this is important note. I've also thought about this.
 
 
   (Probably you can give a link of the original downloaded site. I
don't
   know.)
 
 
 
  Yes, if its license allows to make this :-).
 
  Thanks,
  Vladimir.
 
  Thanks,
   xiaofeng
  
   On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
Hi, Sir,
  I am afraid, i can`t attach the java application with
   gmail,  maybe
it`s too large??
Its size is 24M,  within the 1G of gmail, isn`t it?
  Is there other ways i can attach  my jar files?
   
   
  
  
-
   Terms of use : http://incubator.apache.org/harmony/mailing.html
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
[EMAIL PROTECTED]
  
  
 
 


   
   
 
  --
  Egor Pasko, Intel Managed Runtime Division
 
 
  -
  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -- 
 Best Regards,
 Qiong,Zou

-- 
Egor Pasko, Intel Managed Runtime Division


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-27 Thread zouqiong

I rerun it, and it keeps running,  however no result comes out.
or I  upload the jar file in two packages.



2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:


Could you please run your application as the following:

export

LD_LIBRARY_PATH=/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin;
/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exe
-jar
EIOffice.jar

And let me know about the results.

Thanks,
Vladimir.


On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:

 i download my java application on the web, and it`s open source.
 But i can`t upload it with jira, because the running of the jar file
 depend other files, and the size of all source is above 300M,
 and at most it can be compressed to 60M.

 This is the link i download the source
 http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642

 however, the application is developed by a Chinese group, it may bring
you
 some
 difficulty.

 2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:
 
  On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:
  
   Hi, besides the mbox size, please also note the license issue before
   you forward your EIOffice.jar. :-)
 
 
  Yes, this is important note. I've also thought about this.
 
 
   (Probably you can give a link of the original downloaded site. I
don't
   know.)
 
 
 
  Yes, if its license allows to make this :-).
 
  Thanks,
  Vladimir.
 
  Thanks,
   xiaofeng
  
   On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
Hi, Sir,
  I am afraid, i can`t attach the java application with
   gmail,  maybe
it`s too large??
Its size is 24M,  within the 1G of gmail, isn`t it?
  Is there other ways i can attach  my jar files?
   
   
  
  
-
   Terms of use : http://incubator.apache.org/harmony/mailing.html
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail:
[EMAIL PROTECTED]
  
  
 
 






Re: some question about drlvm

2006-07-27 Thread zouqiong

en, i create the new issue , the link is :
https://issues.apache.org/jira/browse/HARMONY-992
and please read my comment for the file.

And i hope this would help.

Best Regard


Re: some question about drlvm

2006-07-27 Thread Vladimir Gorr

On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:


en, i create the new issue , the link is :
https://issues.apache.org/jira/browse/HARMONY-992
and please read my comment for the file.

And i hope this would help.




It would not, unfortunately. Any instructions, please, how I can get your
jar file (*EIOffice.jar*) from these attachments.

Or explain what do these files mean? Friendly advice is to add in future
some attendant comments for the convenience of other stakeholders.


Thanks,
Vladimir.




Best Regard




Re: some question about drlvm

2006-07-27 Thread Salikh Zakirov
zouqiong wrote:
 i solve the problem if i used the jdk1.5
 
 platfrom: fc5, gcc-3.4.6, jdk1.5
 
 and i find that the java replaced ij.. :-)
 and i use the new java to compile my application, however new problem
 encounters,
 there is no error information comes out,  it seems that it has stopped to
 compile the
 application, but still running.

Is it spending any CPU cycles?
If it is spending CPU, then it must be some infinite loop.
If it is sleeping, it is most likely some sort of a deadlock.
 
 so i use gdb to trace it,  and i use bt commond, you can see the stack.

The stack you have provided shows the the starter thread which is waiting
for other threads to complete. This is perfectly normal, and gives no
information on what went wrong. 
You may want to see the backtraces from other threads to find out the reason of 
hang.


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-27 Thread zouqiong

I am afraid that i made a mistake, that the application
itself isn`t open source, it`s just a beta version, and the package link i
gave is  the installed package, not the source.


2006/7/27, zouqiong [EMAIL PROTECTED]:


i download my java application on the web, and it`s open source.
But i can`t upload it with jira, because the running of the jar file
depend other files, and the size of all source is above 300M,
and at most it can be compressed to 60M.

This is the link i download the source
http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642

however, the application is developed by a Chinese group, it may bring you
some
difficulty.

2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:

 On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:
 
  Hi, besides the mbox size, please also note the license issue before
  you forward your EIOffice.jar . :-)


 Yes, this is important note. I've also thought about this.


  (Probably you can give a link of the original downloaded site. I don't
  know.)



 Yes, if its license allows to make this :-).

 Thanks,
 Vladimir.

 Thanks,
  xiaofeng
 
  On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
   Hi, Sir,
 I am afraid, i can`t attach the java application with
  gmail,  maybe
   it`s too large??
   Its size is 24M,  within the 1G of gmail, isn`t it?
 Is there other ways i can attach  my jar files?
  
  
 
  -
  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 
 








--
Best Regards,
Qiong,Zou


Re: some question about drlvm

2006-07-27 Thread Paulex Yang
Hi, that's OK, thank you to clarify this in time. I agree with Tim that 
we prefer a link instead of attaching it to JIRA. And for those who are 
not expert of Chinese, I found EIOffice's official site[1], which has 
english version, and EIOffice's beta version can be download by free 
with usage time limitation, so I guess it should be fine to us for test 
purpose.


[1] http://www.evermoresw.com/weben/index.jsp

zouqiong wrote:

I am afraid that i made a mistake, that the application
itself isn`t open source, it`s just a beta version, and the package 
link i

gave is  the installed package, not the source.


2006/7/27, zouqiong [EMAIL PROTECTED]:


i download my java application on the web, and it`s open source.
But i can`t upload it with jira, because the running of the jar file
depend other files, and the size of all source is above 300M,
and at most it can be compressed to 60M.

This is the link i download the source
http://dlc2.pconline.com.cn/filedown.jsp?dlid=8242linkid=27642

however, the application is developed by a Chinese group, it may 
bring you

some
difficulty.

2006/7/27, Vladimir Gorr [EMAIL PROTECTED]:

 On 7/27/06, Xiao-Feng Li [EMAIL PROTECTED] wrote:
 
  Hi, besides the mbox size, please also note the license issue before
  you forward your EIOffice.jar . :-)


 Yes, this is important note. I've also thought about this.


  (Probably you can give a link of the original downloaded site. I 
don't

  know.)



 Yes, if its license allows to make this :-).

 Thanks,
 Vladimir.

 Thanks,
  xiaofeng
 
  On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:
   Hi, Sir,
 I am afraid, i can`t attach the java application with
  gmail,  maybe
   it`s too large??
   Its size is 24M,  within the 1G of gmail, isn`t it?
 Is there other ways i can attach  my jar files?
  
  
 
  
-

  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: 
[EMAIL PROTECTED]


 
 











--
Paulex Yang
China Software Development Lab
IBM



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-26 Thread zouqiong

en, i download the swing, awt package from

http://issues.apache.org/jira/browse/HARMONY-528

and i follow the instructions in READ.txt

but when i compile the misc, the error comes as follows:

Buildfile: build.xml

timestamp:
[echo] build-date=20060727
[echo] build-time=20060727_1415)
[echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
[echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
1.5.0_06-b05 vendor = Sun Microsystems Inc.

setname.win:

setname.linux:

init:
[echo] platform name=lnx
 [taskdef] Could not load definitions from resource cpptasks.tasks. It
could not be found.
 [typedef] Could not load definitions from resource cpptasks.types. It
could not be found.
[echo] if.x86_64=${if.x86_64}
[echo] if.x86=true
[echo] if.ipf=${if.ipf}
[echo] create base dirs...

init.java_home:
[echo] JAVA_HOME=/usr/local/jdk1.5.0_06

init.win:

init.linux:

compile.api:
[echo] Compiling api classes from
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java
   [javac] Compiling 10 source files to
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes

BUILD FAILED
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found.

i can build the drlvm on the same platform successfully, and i think the
drlvm also need
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'

so how the error comes? Thanks a lot for telling me the answer.

2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:


From this I deduce you built it yourself :)

If you want Swing/AWT included, you need to  :

1) Follow directions in depends/lib/build to get the dependencies.

2) set the property with.awt.swing to true when building...

geir


zouqiong wrote:
 fc5   gcc-3.4.6

 2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:

 Are you using a snapshot or did you build it yourself?

 What platform?

 geir


 zouqiong wrote:
  does drlvm support for swing classlib?
 
  when I run Java2Demo.jar which is compiled with jdk, some error
comes:
 
  java.lang.NoClassDefFoundError: javax/swing/JPanel
 at java.lang.VMClassRegistry.defineClass()
 at java.lang.ClassLoader.defineClass()
 at java.security.SecureClassLoader.defineClass()
 at java.net.URLClassLoader.findClassImpl()
 at java.net.URLClassLoader$4.run()
 at java.security.AccessController.doPrivilegedImpl()
 at java.security.AccessController.doPrivileged()
 at java.net.URLClassLoader.findClass()
 at java.lang.ClassLoader.loadClass()
 at java.net.URLClassLoader$SubURLClassLoader.loadClass()
  Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
 at java.net.URLClassLoader.findClass()
 at java.lang.ClassLoader.loadClass()
 at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 at java.lang.ClassLoader.loadClass()
 at java.lang.VMClassRegistry.defineClass()
 
  how can i solve the problem?  Thanks a lot.
 

 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: some question about drlvm

2006-07-26 Thread Alexey Petrenko

First of all, welcome to Harmony! :)

Awt and Swing modules are already in svn. So you do not need to
download them separately.

Just checkout clean classlib repository, run
depends/libs/build/fetch-awt-depends.sh script and finally run ant
-Dwith.awt.swing=true.

If you are using drlvm do not forget to copy new classlib to its
deploy directory or just rerun drlvm build script.

And let us now about the results! :)

SY, Alexey



2006/7/26, zouqiong [EMAIL PROTECTED]:

en, i download the swing, awt package from

http://issues.apache.org/jira/browse/HARMONY-528

and i follow the instructions in READ.txt

but when i compile the misc, the error comes as follows:

Buildfile: build.xml

timestamp:
 [echo] build-date=20060727
 [echo] build-time=20060727_1415)
 [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
 [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
1.5.0_06-b05 vendor = Sun Microsystems Inc.

setname.win:

setname.linux:

init:
 [echo] platform name=lnx
  [taskdef] Could not load definitions from resource cpptasks.tasks. It
could not be found.
  [typedef] Could not load definitions from resource cpptasks.types. It
could not be found.
 [echo] if.x86_64=${if.x86_64}
 [echo] if.x86=true
 [echo] if.ipf=${if.ipf}
 [echo] create base dirs...

init.java_home:
 [echo] JAVA_HOME=/usr/local/jdk1.5.0_06

init.win:

init.linux:

compile.api:
 [echo] Compiling api classes from
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java
[javac] Compiling 10 source files to
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes

BUILD FAILED
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be found.

i can build the drlvm on the same platform successfully, and i think the
drlvm also need
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'

so how the error comes? Thanks a lot for telling me the answer.

2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:

 From this I deduce you built it yourself :)

 If you want Swing/AWT included, you need to  :

 1) Follow directions in depends/lib/build to get the dependencies.

 2) set the property with.awt.swing to true when building...

 geir


 zouqiong wrote:
  fc5   gcc-3.4.6
 
  2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
 
  Are you using a snapshot or did you build it yourself?
 
  What platform?
 
  geir
 
 
  zouqiong wrote:
   does drlvm support for swing classlib?
  
   when I run Java2Demo.jar which is compiled with jdk, some error
 comes:
  
   java.lang.NoClassDefFoundError: javax/swing/JPanel
  at java.lang.VMClassRegistry.defineClass()
  at java.lang.ClassLoader.defineClass()
  at java.security.SecureClassLoader.defineClass()
  at java.net.URLClassLoader.findClassImpl()
  at java.net.URLClassLoader$4.run()
  at java.security.AccessController.doPrivilegedImpl()
  at java.security.AccessController.doPrivileged()
  at java.net.URLClassLoader.findClass()
  at java.lang.ClassLoader.loadClass()
  at java.net.URLClassLoader$SubURLClassLoader.loadClass()
   Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
  at java.net.URLClassLoader.findClass()
  at java.lang.ClassLoader.loadClass()
  at java.net.URLClassLoader$SubURLClassLoader.loadClass()
  at java.lang.ClassLoader.loadClass()
  at java.lang.VMClassRegistry.defineClass()
  
   how can i solve the problem?  Thanks a lot.
  
 
  -
  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







--
Alexey A. Petrenko
Intel Middleware Products Division

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-26 Thread Vladimir Ivanov

I can't build drlvm on my WinXP with message:
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) : error
C2001: newline in constant
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2015: too many characters in constant
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2143: syntax error : missing ';' before 'constant'
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2501: 'Type' : missing storage-class or type specifiers
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2001: newline in constant

Seems, the define of VERSION_SVN_TAG was splited to 2 string...
thanks, Vladimir


On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:


First of all, welcome to Harmony! :)

Awt and Swing modules are already in svn. So you do not need to
download them separately.

Just checkout clean classlib repository, run
depends/libs/build/fetch-awt-depends.sh script and finally run ant
-Dwith.awt.swing=true.

If you are using drlvm do not forget to copy new classlib to its
deploy directory or just rerun drlvm build script.

And let us now about the results! :)

SY, Alexey



2006/7/26, zouqiong [EMAIL PROTECTED]:
 en, i download the swing, awt package from

 http://issues.apache.org/jira/browse/HARMONY-528

 and i follow the instructions in READ.txt

 but when i compile the misc, the error comes as follows:

 Buildfile: build.xml

 timestamp:
  [echo] build-date=20060727
  [echo] build-time=20060727_1415)
  [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
  [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
 1.5.0_06-b05 vendor = Sun Microsystems Inc.

 setname.win:

 setname.linux:

 init:
  [echo] platform name=lnx
   [taskdef] Could not load definitions from resource cpptasks.tasks. It
 could not be found.
   [typedef] Could not load definitions from resource cpptasks.types. It
 could not be found.
  [echo] if.x86_64=${if.x86_64}
  [echo] if.x86=true
  [echo] if.ipf=${if.ipf}
  [echo] create base dirs...

 init.java_home:
  [echo] JAVA_HOME=/usr/local/jdk1.5.0_06

 init.win:

 init.linux:

 compile.api:
  [echo] Compiling api classes from

/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,

/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java
 [javac] Compiling 10 source files to
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes

 BUILD FAILED

/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:
 Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be
found.

 i can build the drlvm on the same platform successfully, and i think the
 drlvm also need
 Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'

 so how the error comes? Thanks a lot for telling me the answer.

 2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
 
  From this I deduce you built it yourself :)
 
  If you want Swing/AWT included, you need to  :
 
  1) Follow directions in depends/lib/build to get the dependencies.
 
  2) set the property with.awt.swing to true when building...
 
  geir
 
 
  zouqiong wrote:
   fc5   gcc-3.4.6
  
   2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
  
   Are you using a snapshot or did you build it yourself?
  
   What platform?
  
   geir
  
  
   zouqiong wrote:
does drlvm support for swing classlib?
   
when I run Java2Demo.jar which is compiled with jdk, some error
  comes:
   
java.lang.NoClassDefFoundError: javax/swing/JPanel
   at java.lang.VMClassRegistry.defineClass()
   at java.lang.ClassLoader.defineClass()
   at java.security.SecureClassLoader.defineClass()
   at java.net.URLClassLoader.findClassImpl()
   at java.net.URLClassLoader$4.run()
   at java.security.AccessController.doPrivilegedImpl()
   at java.security.AccessController.doPrivileged()
   at java.net.URLClassLoader.findClass()
   at java.lang.ClassLoader.loadClass()
   at java.net.URLClassLoader$SubURLClassLoader.loadClass()
Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
   at java.net.URLClassLoader.findClass()
   at java.lang.ClassLoader.loadClass()
   at java.net.URLClassLoader$SubURLClassLoader.loadClass()
   at java.lang.ClassLoader.loadClass()
   at java.lang.VMClassRegistry.defineClass()
   
how can i solve the problem?  Thanks a lot.
   
  
  
-
   Terms of use : http://incubator.apache.org/harmony/mailing.html
   To unsubscribe, e-mail:
[EMAIL PROTECTED]
   For additional commands, e-mail:
[EMAIL PROTECTED]
  
  
  
 
  -
  Terms of use : http://incubator.apache.org/harmony/mailing.html
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional 

Re: some question about drlvm

2006-07-26 Thread Alexey Petrenko

I've built drlvm on Windows yesterday without any problem... Probably
this is a new issue...

2006/7/26, Vladimir Ivanov [EMAIL PROTECTED]:

I can't build drlvm on my WinXP with message:
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) : error
C2001: newline in constant
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2015: too many characters in constant
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2143: syntax error : missing ';' before 'constant'
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2501: 'Type' : missing storage-class or type specifiers
[cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
C2001: newline in constant

Seems, the define of VERSION_SVN_TAG was splited to 2 string...
 thanks, Vladimir


On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:

 First of all, welcome to Harmony! :)

 Awt and Swing modules are already in svn. So you do not need to
 download them separately.

 Just checkout clean classlib repository, run
 depends/libs/build/fetch-awt-depends.sh script and finally run ant
 -Dwith.awt.swing=true.

 If you are using drlvm do not forget to copy new classlib to its
 deploy directory or just rerun drlvm build script.

 And let us now about the results! :)

 SY, Alexey



 2006/7/26, zouqiong [EMAIL PROTECTED]:
  en, i download the swing, awt package from
 
  http://issues.apache.org/jira/browse/HARMONY-528
 
  and i follow the instructions in READ.txt
 
  but when i compile the misc, the error comes as follows:
 
  Buildfile: build.xml
 
  timestamp:
   [echo] build-date=20060727
   [echo] build-time=20060727_1415)
   [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
   [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
  1.5.0_06-b05 vendor = Sun Microsystems Inc.
 
  setname.win:
 
  setname.linux:
 
  init:
   [echo] platform name=lnx
[taskdef] Could not load definitions from resource cpptasks.tasks. It
  could not be found.
[typedef] Could not load definitions from resource cpptasks.types. It
  could not be found.
   [echo] if.x86_64=${if.x86_64}
   [echo] if.x86=true
   [echo] if.ipf=${if.ipf}
   [echo] create base dirs...
 
  init.java_home:
   [echo] JAVA_HOME=/usr/local/jdk1.5.0_06
 
  init.win:
 
  init.linux:
 
  compile.api:
   [echo] Compiling api classes from
 
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,
 
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java
  [javac] Compiling 10 source files to
  /home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes
 
  BUILD FAILED
 
 
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:
  Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be
 found.
 
  i can build the drlvm on the same platform successfully, and i think the
  drlvm also need
  Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
 
  so how the error comes? Thanks a lot for telling me the answer.
 
  2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
  
   From this I deduce you built it yourself :)
  
   If you want Swing/AWT included, you need to  :
  
   1) Follow directions in depends/lib/build to get the dependencies.
  
   2) set the property with.awt.swing to true when building...
  
   geir
  
  
   zouqiong wrote:
fc5   gcc-3.4.6
   
2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
   
Are you using a snapshot or did you build it yourself?
   
What platform?
   
geir
   
   
zouqiong wrote:
 does drlvm support for swing classlib?

 when I run Java2Demo.jar which is compiled with jdk, some error
   comes:

 java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
at java.lang.ClassLoader.loadClass()
at java.lang.VMClassRegistry.defineClass()

 how can i solve the problem?  Thanks a lot.

   
   
 -
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 

Re: some question about drlvm

2006-07-26 Thread Vladimir Ivanov

Seems, it depend on svn. My svn is not support '--non-interactive' option
(file trunk\build\make\build.xml, line 323) and report 2 lines to output
svn: invalid option: --nonineractive
Type 'svn help' for usage.
that seems to be used to convert 'version_svn_tag_orig.h' to
'version_svn_tag.h'

thanks, Vladimir


On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:


I've built drlvm on Windows yesterday without any problem... Probably
this is a new issue...

2006/7/26, Vladimir Ivanov [EMAIL PROTECTED]:
 I can't build drlvm on my WinXP with message:
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) :
error
 C2001: newline in constant
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2015: too many characters in constant
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2143: syntax error : missing ';' before 'constant'
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2501: 'Type' : missing storage-class or type specifiers
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2001: newline in constant

 Seems, the define of VERSION_SVN_TAG was splited to 2 string...
  thanks, Vladimir


 On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:
 
  First of all, welcome to Harmony! :)
 
  Awt and Swing modules are already in svn. So you do not need to
  download them separately.
 
  Just checkout clean classlib repository, run
  depends/libs/build/fetch-awt-depends.sh script and finally run ant
  -Dwith.awt.swing=true.
 
  If you are using drlvm do not forget to copy new classlib to its
  deploy directory or just rerun drlvm build script.
 
  And let us now about the results! :)
 
  SY, Alexey
 
 
 
  2006/7/26, zouqiong [EMAIL PROTECTED]:
   en, i download the swing, awt package from
  
   http://issues.apache.org/jira/browse/HARMONY-528
  
   and i follow the instructions in READ.txt
  
   but when i compile the misc, the error comes as follows:
  
   Buildfile: build.xml
  
   timestamp:
[echo] build-date=20060727
[echo] build-time=20060727_1415)
[echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
[echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
   1.5.0_06-b05 vendor = Sun Microsystems Inc.
  
   setname.win:
  
   setname.linux:
  
   init:
[echo] platform name=lnx
 [taskdef] Could not load definitions from resource cpptasks.tasks.
It
   could not be found.
 [typedef] Could not load definitions from resource cpptasks.types.
It
   could not be found.
[echo] if.x86_64=${if.x86_64}
[echo] if.x86=true
[echo] if.ipf=${if.ipf}
[echo] create base dirs...
  
   init.java_home:
[echo] JAVA_HOME=/usr/local/jdk1.5.0_06
  
   init.win:
  
   init.linux:
  
   compile.api:
[echo] Compiling api classes from
  
 
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,
  
 
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java
   [javac] Compiling 10 source files to
   /home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes
  
   BUILD FAILED
  
 
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:
   Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be
  found.
  
   i can build the drlvm on the same platform successfully, and i think
the
   drlvm also need
   Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
  
   so how the error comes? Thanks a lot for telling me the answer.
  
   2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
   
From this I deduce you built it yourself :)
   
If you want Swing/AWT included, you need to  :
   
1) Follow directions in depends/lib/build to get the dependencies.
   
2) set the property with.awt.swing to true when building...
   
geir
   
   
zouqiong wrote:
 fc5   gcc-3.4.6

 2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:

 Are you using a snapshot or did you build it yourself?

 What platform?

 geir


 zouqiong wrote:
  does drlvm support for swing classlib?
 
  when I run Java2Demo.jar which is compiled with jdk, some
error
comes:
 
  java.lang.NoClassDefFoundError: javax/swing/JPanel
 at java.lang.VMClassRegistry.defineClass()
 at java.lang.ClassLoader.defineClass()
 at java.security.SecureClassLoader.defineClass()
 at java.net.URLClassLoader.findClassImpl()
 at java.net.URLClassLoader$4.run()
 at java.security.AccessController.doPrivilegedImpl()
 at java.security.AccessController.doPrivileged()
 at java.net.URLClassLoader.findClass()
 at java.lang.ClassLoader.loadClass()
 at java.net.URLClassLoader$SubURLClassLoader.loadClass
()
  Caused by: java.lang.ClassNotFoundException:
javax.swing.JPanel
 at 

Re: some question about drlvm

2006-07-26 Thread Vladimir Ivanov

issue 980 with simple fix for my problem was created.

thanks, Vladimir

On 7/26/06, Vladimir Ivanov [EMAIL PROTECTED] wrote:


 Seems, it depend on svn. My svn is not support '--non-interactive' option
(file trunk\build\make\build.xml, line 323) and report 2 lines to output
svn: invalid option: --nonineractive
Type 'svn help' for usage.
that seems to be used to convert 'version_svn_tag_orig.h' to
'version_svn_tag.h'

 thanks, Vladimir


On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:

 I've built drlvm on Windows yesterday without any problem... Probably
 this is a new issue...

 2006/7/26, Vladimir Ivanov  [EMAIL PROTECTED]:
  I can't build drlvm on my WinXP with message:
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) :
 error
  C2001: newline in constant
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2015: too many characters in constant
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2143: syntax error : missing ';' before 'constant'
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2501: 'Type' : missing storage-class or type specifiers
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2001: newline in constant
 
  Seems, the define of VERSION_SVN_TAG was splited to 2 string...
   thanks, Vladimir
 
 
  On 7/26/06, Alexey Petrenko  [EMAIL PROTECTED] wrote:
  
   First of all, welcome to Harmony! :)
  
   Awt and Swing modules are already in svn. So you do not need to
   download them separately.
  
   Just checkout clean classlib repository, run
   depends/libs/build/fetch-awt-depends.sh script and finally run ant
   -Dwith.awt.swing=true.
  
   If you are using drlvm do not forget to copy new classlib to its
   deploy directory or just rerun drlvm build script.
  
   And let us now about the results! :)
  
   SY, Alexey
  
  
  
   2006/7/26, zouqiong  [EMAIL PROTECTED]:
en, i download the swing, awt package from
   
http://issues.apache.org/jira/browse/HARMONY-528
   
and i follow the instructions in READ.txt
   
but when i compile the misc, the error comes as follows:
   
Buildfile: build.xml
   
timestamp:
 [echo] build-date=20060727
 [echo] build-time=20060727_1415)
 [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
 [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version
 =
1.5.0_06-b05 vendor = Sun Microsystems Inc.
   
setname.win:
   
setname.linux:
   
init:
 [echo] platform name=lnx
  [taskdef] Could not load definitions from resource
 cpptasks.tasks. It
could not be found.
  [typedef] Could not load definitions from resource
 cpptasks.types. It
could not be found.
 [echo] if.x86_64=${if.x86_64}
 [echo] if.x86=true
 [echo] if.ipf=${if.ipf}
 [echo] create base dirs...
   
init.java_home:
 [echo] JAVA_HOME=/usr/local/jdk1.5.0_06
   
init.win:
   
init.linux:
   
compile.api:
 [echo] Compiling api classes from
   
  
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,

   
  
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java
[javac] Compiling 10 source files to
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes
   
BUILD FAILED
   
  
 
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter ' can't
 be
   found.
   
i can build the drlvm on the same platform successfully, and i
 think the
drlvm also need
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter '
   
so how the error comes? Thanks a lot for telling me the answer.
   
2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED] :

 From this I deduce you built it yourself :)

 If you want Swing/AWT included, you need to  :

 1) Follow directions in depends/lib/build to get the
 dependencies.

 2) set the property with.awt.swing to true when building...

 geir


 zouqiong wrote:
  fc5   gcc-3.4.6
 
  2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
 
  Are you using a snapshot or did you build it yourself?
 
  What platform?
 
  geir
 
 
  zouqiong wrote:
   does drlvm support for swing classlib?
  
   when I run Java2Demo.jar which is compiled with jdk, some
 error
 comes:
  
   java.lang.NoClassDefFoundError : javax/swing/JPanel
  at java.lang.VMClassRegistry.defineClass()
  at java.lang.ClassLoader.defineClass()
  at java.security.SecureClassLoader.defineClass()
  at java.net.URLClassLoader.findClassImpl()
  at java.net.URLClassLoader$4.run()
  at java.security.AccessController.doPrivilegedImpl()
  at 

Re: some question about drlvm

2006-07-26 Thread Alexey Varlamov

From the information you've provided it is hard to deduce the reason of failure.

Could you please apply this diff to drlvm and try it again, then post a result?

Index: vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java

--- vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java
(revision 425602)
+++ vm/vmcore/src/kernel_classes/javasrc/java/lang/ClassLoader.java
(working copy)
@@ -394,7 +394,7 @@
if (name != null) {
if (name.startsWith(java.)) {
throw new SecurityException(
-It is not allowed to define classes inside the
java.* package);
+It is not allowed to define classes inside the
java.* package:  + name);
}
int lastDot = name.lastIndexOf('.');
packageName = lastDot == -1 ?  : name.substring(0, lastDot);

--
Alexey

2006/7/26, zouqiong [EMAIL PROTECTED]:

I hava solved the problem i submitted in the morning.
Now i am using the drlvm to build a java application, called yong zhong
office,
i run the application as follows:
ij -jar EIOffice.jar

however, the erros comes as:
java.lang.SecurityException: It is not allowed to define classes inside the
java.* package
   at java.lang.ClassLoader.defineClass()
   at java.security.SecureClassLoader.defineClass()
   at java.net.URLClassLoader.findClassImpl()
   at java.net.URLClassLoader$4.run()
   at java.security.AccessController.doPrivilegedImpl()
   at java.security.AccessController.doPrivileged()
   at java.net.URLClassLoader.findClass()
   at java.lang.ClassLoader.loadClass()
   at java.net.URLClassLoader$SubURLClassLoader.loadClass()
   at java.lang.ClassLoader.loadClass()
   at java.lang.VMClassRegistry.defineClass()
   at java.lang.ClassLoader.defineClass()
   at java.security.SecureClassLoader.defineClass()
   at java.net.URLClassLoader.findClassImpl()
   at java.net.URLClassLoader$4.run()
   at java.security.AccessController.doPrivilegedImpl()
   at java.security.AccessController.doPrivileged()
   at java.net.URLClassLoader.findClass()
   at java.lang.ClassLoader.loadClass()
   at java.net.URLClassLoader$SubURLClassLoader.loadClass()
   at java.lang.ClassLoader.loadClass()
   at java.lang.VMClassRegistry.defineClass()
   at java.lang.ClassLoader.defineClass()
   at java.security.SecureClassLoader.defineClass()
   at java.net.URLClassLoader.findClassImpl()
   at java.net.URLClassLoader$4.run()
   at java.security.AccessController.doPrivilegedImpl()
   at java.security.AccessController.doPrivileged()
   at java.net.URLClassLoader.findClass()
   at java.lang.ClassLoader.loadClass()
   at java.net.URLClassLoader$SubURLClassLoader.loadClass()
   at java.lang.ClassLoader.loadClass()
   at java.lang.VMClassRegistry.defineClass()
   at java.lang.ClassLoader.defineClass()
   at java.security.SecureClassLoader.defineClass()
   at java.net.URLClassLoader.findClassImpl()
   at java.net.URLClassLoader$4.run()
   at java.security.AccessController.doPrivilegedImpl()
   at java.security.AccessController.doPrivileged()
   at java.net.URLClassLoader.findClass()
   at java.lang.ClassLoader.loadClass()
   at java.net.URLClassLoader$SubURLClassLoader.loadClass()

what`s the reason for it? Thanks




-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-26 Thread Geir Magnusson Jr
Weird.  I build on both linux and windows (and in a VMM of ubuntu 5 on
Max OS X) and never have a problem.

Vladimir Ivanov wrote:
 I can't build drlvm on my WinXP with message:
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) : error
 C2001: newline in constant
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
 C2015: too many characters in constant
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
 C2143: syntax error : missing ';' before 'constant'
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
 C2501: 'Type' : missing storage-class or type specifiers
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) : error
 C2001: newline in constant
 
 Seems, the define of VERSION_SVN_TAG was splited to 2 string...
 thanks, Vladimir

What was it replaced with?

geir

 
 
 On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:

 First of all, welcome to Harmony! :)

 Awt and Swing modules are already in svn. So you do not need to
 download them separately.

 Just checkout clean classlib repository, run
 depends/libs/build/fetch-awt-depends.sh script and finally run ant
 -Dwith.awt.swing=true.

 If you are using drlvm do not forget to copy new classlib to its
 deploy directory or just rerun drlvm build script.

 And let us now about the results! :)

 SY, Alexey



 2006/7/26, zouqiong [EMAIL PROTECTED]:
  en, i download the swing, awt package from
 
  http://issues.apache.org/jira/browse/HARMONY-528
 
  and i follow the instructions in READ.txt
 
  but when i compile the misc, the error comes as follows:
 
  Buildfile: build.xml
 
  timestamp:
   [echo] build-date=20060727
   [echo] build-time=20060727_1415)
   [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
   [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
  1.5.0_06-b05 vendor = Sun Microsystems Inc.
 
  setname.win:
 
  setname.linux:
 
  init:
   [echo] platform name=lnx
[taskdef] Could not load definitions from resource cpptasks.tasks. It
  could not be found.
[typedef] Could not load definitions from resource cpptasks.types. It
  could not be found.
   [echo] if.x86_64=${if.x86_64}
   [echo] if.x86=true
   [echo] if.ipf=${if.ipf}
   [echo] create base dirs...
 
  init.java_home:
   [echo] JAVA_HOME=/usr/local/jdk1.5.0_06
 
  init.win:
 
  init.linux:
 
  compile.api:
   [echo] Compiling api classes from
 
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,

 
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java

  [javac] Compiling 10 source files to
  /home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes
 
  BUILD FAILED
 
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:

  Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be
 found.
 
  i can build the drlvm on the same platform successfully, and i think
 the
  drlvm also need
  Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
 
  so how the error comes? Thanks a lot for telling me the answer.
 
  2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
  
   From this I deduce you built it yourself :)
  
   If you want Swing/AWT included, you need to  :
  
   1) Follow directions in depends/lib/build to get the dependencies.
  
   2) set the property with.awt.swing to true when building...
  
   geir
  
  
   zouqiong wrote:
fc5   gcc-3.4.6
   
2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
   
Are you using a snapshot or did you build it yourself?
   
What platform?
   
geir
   
   
zouqiong wrote:
 does drlvm support for swing classlib?

 when I run Java2Demo.jar which is compiled with jdk, some error
   comes:

 java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
at java.lang.ClassLoader.loadClass()
at java.lang.VMClassRegistry.defineClass()

 how can i solve the problem?  Thanks a lot.

   
   
 -
Terms of use : http://incubator.apache.org/harmony/mailing.html

Re: some question about drlvm

2006-07-26 Thread Geir Magnusson Jr
yes, that would do it :)


Vladimir Ivanov wrote:
 Seems, it depend on svn. My svn is not support '--non-interactive' option
 (file trunk\build\make\build.xml, line 323) and report 2 lines to output
 svn: invalid option: --nonineractive
 Type 'svn help' for usage.
 that seems to be used to convert 'version_svn_tag_orig.h' to
 'version_svn_tag.h'
 
 thanks, Vladimir
 
 
 On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:

 I've built drlvm on Windows yesterday without any problem... Probably
 this is a new issue...

 2006/7/26, Vladimir Ivanov [EMAIL PROTECTED]:
  I can't build drlvm on my WinXP with message:
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) :
 error
  C2001: newline in constant
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2015: too many characters in constant
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2143: syntax error : missing ';' before 'constant'
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2501: 'Type' : missing storage-class or type specifiers
  [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
 error
  C2001: newline in constant
 
  Seems, the define of VERSION_SVN_TAG was splited to 2 string...
   thanks, Vladimir
 
 
  On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:
  
   First of all, welcome to Harmony! :)
  
   Awt and Swing modules are already in svn. So you do not need to
   download them separately.
  
   Just checkout clean classlib repository, run
   depends/libs/build/fetch-awt-depends.sh script and finally run ant
   -Dwith.awt.swing=true.
  
   If you are using drlvm do not forget to copy new classlib to its
   deploy directory or just rerun drlvm build script.
  
   And let us now about the results! :)
  
   SY, Alexey
  
  
  
   2006/7/26, zouqiong [EMAIL PROTECTED]:
en, i download the swing, awt package from
   
http://issues.apache.org/jira/browse/HARMONY-528
   
and i follow the instructions in READ.txt
   
but when i compile the misc, the error comes as follows:
   
Buildfile: build.xml
   
timestamp:
 [echo] build-date=20060727
 [echo] build-time=20060727_1415)
 [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
 [echo] with java home = /usr/local/jdk1.5.0_06/jre VM
 version =
1.5.0_06-b05 vendor = Sun Microsystems Inc.
   
setname.win:
   
setname.linux:
   
init:
 [echo] platform name=lnx
  [taskdef] Could not load definitions from resource
 cpptasks.tasks.
 It
could not be found.
  [typedef] Could not load definitions from resource
 cpptasks.types.
 It
could not be found.
 [echo] if.x86_64=${if.x86_64}
 [echo] if.x86=true
 [echo] if.ipf=${if.ipf}
 [echo] create base dirs...
   
init.java_home:
 [echo] JAVA_HOME=/usr/local/jdk1.5.0_06
   
init.win:
   
init.linux:
   
compile.api:
 [echo] Compiling api classes from
   
  
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,

   
  
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java

[javac] Compiling 10 source files to
/home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes
   
BUILD FAILED
   
  
 /home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:

Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be
   found.
   
i can build the drlvm on the same platform successfully, and i
 think
 the
drlvm also need
Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
   
so how the error comes? Thanks a lot for telling me the answer.
   
2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:

 From this I deduce you built it yourself :)

 If you want Swing/AWT included, you need to  :

 1) Follow directions in depends/lib/build to get the
 dependencies.

 2) set the property with.awt.swing to true when building...

 geir


 zouqiong wrote:
  fc5   gcc-3.4.6
 
  2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
 
  Are you using a snapshot or did you build it yourself?
 
  What platform?
 
  geir
 
 
  zouqiong wrote:
   does drlvm support for swing classlib?
  
   when I run Java2Demo.jar which is compiled with jdk, some
 error
 comes:
  
   java.lang.NoClassDefFoundError: javax/swing/JPanel
  at java.lang.VMClassRegistry.defineClass()
  at java.lang.ClassLoader.defineClass()
  at java.security.SecureClassLoader.defineClass()
  at java.net.URLClassLoader.findClassImpl()
  at java.net.URLClassLoader$4.run()
  at java.security.AccessController.doPrivilegedImpl()
  at java.security.AccessController.doPrivileged()
  at 

Re: some question about drlvm

2006-07-26 Thread Geir Magnusson Jr
I'm worried about what revision you are running here.

Please update to latest version of DRLVM, as we no longer have the java
app name as ij

(And also apply the patch suggested by Alexey as well)

geir


zouqiong wrote:
 I hava solved the problem i submitted in the morning.
 Now i am using the drlvm to build a java application, called yong zhong
 office,
 i run the application as follows:
 ij -jar EIOffice.jar
 
 however, the erros comes as:
 java.lang.SecurityException: It is not allowed to define classes inside the
 java.* package
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
at java.lang.ClassLoader.loadClass()
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
at java.lang.ClassLoader.loadClass()
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
at java.lang.ClassLoader.loadClass()
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 
 what`s the reason for it? Thanks
 

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-26 Thread zouqiong

good morning, sir,
i redownload the harmony from svn, and when i build the drlvm,
i encounter the following errors:


I use the  jrockit-j2sdk1.4.2_08 that you recommoned in the READMe.txt.
compiler: gcc-3.4.6

build.java:
[echo] ## Building Java classes of 'extra.hyplugin'
Overriding previous definition of reference to java.classes.pattern
Overriding previous definition of reference to java.source.pattern
   [javac] Compiling 7 source files to
/home/ustczz/harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semis/extra/hyplugin/_other/org.apache.harmony.eclipse.jdt.launching_1.0.0
   [javac] javac: invalid target release: jsr14
   [javac] Usage: javac options source files
   [javac] where possible options include:
   [javac]   -gGenerate all debugging info
   [javac]   -g:none   Generate no debugging info
   [javac]   -g:{lines,vars,source}Generate only some debugging info
   [javac]   -nowarn   Generate no warnings
   [javac]   -verbose  Output messages about what the
compiler is doing
   [javac]   -deprecation  Output source locations where
deprecated APIs are used
   [javac]   -classpath path Specify where to find user class
files
   [javac]   -sourcepath pathSpecify where to find input source
files
   [javac]   -bootclasspath path Override location of bootstrap class
files
   [javac]   -extdirs dirs   Override location of installed
extensions
   [javac]   -d directorySpecify where to place generated
class files
   [javac]   -encoding encoding  Specify character encoding used by
source files
   [javac]   -source release Provide source compatibility with
specified release
   [javac]   -target release Generate class files for specific VM
version
   [javac]   -help Print a synopsis of standard options


Re: some question about drlvm

2006-07-26 Thread Paulex Yang

zouqiong wrote:

good morning, sir,
i redownload the harmony from svn, and when i build the drlvm,
i encounter the following errors:


I use the  jrockit-j2sdk1.4.2_08 that you recommoned in the READMe.txt.
compiler: gcc-3.4.6

build.java:
[echo] ## Building Java classes of 'extra.hyplugin'
Overriding previous definition of reference to java.classes.pattern
Overriding previous definition of reference to java.source.pattern
   [javac] Compiling 7 source files to
/home/ustczz/harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semis/extra/hyplugin/_other/org.apache.harmony.eclipse.jdt.launching_1.0.0 


   [javac] javac: invalid target release: jsr14
Interesting... jsr14 is used as walk around for Java 5 compiler, 
currently all Harmony VM (including IBM VME) haven't fully support 5.0 
class format, so we need this option to compile the source codes with 
5.0 syntax to 1.4 compatible binary code,  it should not be set if 1.4 
compiler is used. Seems a bug of build script? Haven't look inside what 
actually happened, but maybe you have interest to: 1. either find and 
remove the setting about jsr14 and remove it(I'm not sure where it is 
for DRLVM, but for classlib, it is in 
enhanced/classlib/trunk/make/properties.xml)  2. or try a Java 5 
compiler(I prefer this one :)). Good luck!

   [javac] Usage: javac options source files
   [javac] where possible options include:
   [javac]   -gGenerate all debugging info
   [javac]   -g:none   Generate no debugging info
   [javac]   -g:{lines,vars,source}Generate only some debugging info
   [javac]   -nowarn   Generate no warnings
   [javac]   -verbose  Output messages about what the
compiler is doing
   [javac]   -deprecation  Output source locations where
deprecated APIs are used
   [javac]   -classpath path Specify where to find user class
files
   [javac]   -sourcepath pathSpecify where to find input source
files
   [javac]   -bootclasspath path Override location of bootstrap 
class

files
   [javac]   -extdirs dirs   Override location of installed
extensions
   [javac]   -d directorySpecify where to place generated
class files
   [javac]   -encoding encoding  Specify character encoding used by
source files
   [javac]   -source release Provide source compatibility with
specified release
   [javac]   -target release Generate class files for 
specific VM

version
   [javac]   -help Print a synopsis of standard 
options





--
Paulex Yang
China Software Development Lab
IBM



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-26 Thread Paulex Yang
BTW, if you are also trying to build classlib, you definitely need a 5.0 
compiler, as I mentioned, many 5.0 features(generic, enum, etc) have 
been used in classlib.


zouqiong wrote:

good morning, sir,
i redownload the harmony from svn, and when i build the drlvm,
i encounter the following errors:


I use the  jrockit-j2sdk1.4.2_08 that you recommoned in the READMe.txt.
compiler: gcc-3.4.6

build.java:
[echo] ## Building Java classes of 'extra.hyplugin'
Overriding previous definition of reference to java.classes.pattern
Overriding previous definition of reference to java.source.pattern
   [javac] Compiling 7 source files to
/home/ustczz/harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/semis/extra/hyplugin/_other/org.apache.harmony.eclipse.jdt.launching_1.0.0 


   [javac] javac: invalid target release: jsr14
   [javac] Usage: javac options source files
   [javac] where possible options include:
   [javac]   -gGenerate all debugging info
   [javac]   -g:none   Generate no debugging info
   [javac]   -g:{lines,vars,source}Generate only some debugging info
   [javac]   -nowarn   Generate no warnings
   [javac]   -verbose  Output messages about what the
compiler is doing
   [javac]   -deprecation  Output source locations where
deprecated APIs are used
   [javac]   -classpath path Specify where to find user class
files
   [javac]   -sourcepath pathSpecify where to find input source
files
   [javac]   -bootclasspath path Override location of bootstrap 
class

files
   [javac]   -extdirs dirs   Override location of installed
extensions
   [javac]   -d directorySpecify where to place generated
class files
   [javac]   -encoding encoding  Specify character encoding used by
source files
   [javac]   -source release Provide source compatibility with
specified release
   [javac]   -target release Generate class files for 
specific VM

version
   [javac]   -help Print a synopsis of standard 
options





--
Paulex Yang
China Software Development Lab
IBM



-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-26 Thread zouqiong

i solve the problem if i used the jdk1.5

platfrom: fc5, gcc-3.4.6, jdk1.5

and i find that the java replaced ij.. :-)
and i use the new java to compile my application, however new problem
encounters,
there is no error information comes out,  it seems that it has stopped to
compile the
application, but still running.

so i use gdb to trace it,  and i use bt commond, you can see the stack.


(gdb) run -jar EIOffice.jar
Starting program:
/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exec
-jar EIOffice.jar
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x988000
[Thread debugging using libthread_db enabled]
[New Thread -1208674624 (LWP 3512)]
[New Thread 76307360 (LWP 3515)]
[New Thread 31476640 (LWP 3516)]
[New Thread 52206496 (LWP 3519)]
[New Thread 87272352 (LWP 3520)]
[New Thread 97762208 (LWP 3521)]
[New Thread 115604384 (LWP 3524)]
[Thread 115604384 (LWP 3524) exited]
[New Thread 115604384 (LWP 3525)]
[New Thread 134413216 (LWP 3526)]
[Thread 115604384 (LWP 3525) exited]
[Thread 87272352 (LWP 3520) exited]


Program received signal SIGINT, Interrupt.
[Switching to Thread -1208674624 (LWP 3512)]
0x00988402 in __kernel_vsyscall ()
(gdb) ps ax
Undefined command: ps.  Try help.
(gdb) bt
#0  0x00988402 in __kernel_vsyscall ()
#1  0x0024f48c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0x001d5098 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x00f6df0a in vm_wait_for_single_object (hHandle=140436112,
dwMillisec=2000)
   at
/home/ustczz/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/os_wrapper.cpp:285
#4  0x00f7f8f8 in wait_until_non_daemon_threads_are_dead ()
   at
/home/ustczz/harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/thread_generic.cpp:918
#5  0x00f04207 in Java_java_lang_VMStart_joinAllNonDaemonThreads
(jenv=0x113b0f0, starter=0xbfa70bf4)
   at
/home/ustczz/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_VMStart.cpp:29
#6  0x002b7da0 in ?? ()
#7  0x0113b0f0 in java_vm () from
/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/libvmcore.so
#8  0xbfa70bf4 in ?? ()
#9  0x00010009 in ?? ()
#10 0x in ?? ()

I hope the trace can help to find the problem, and thank you for solving it
:-)


Re: some question about drlvm

2006-07-26 Thread Vladimir Ivanov

On 7/26/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:


Weird.  I build on both linux and windows (and in a VMM of ubuntu 5 on
Max OS X) and never have a problem.

Vladimir Ivanov wrote:
 I can't build drlvm on my WinXP with message:
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(20) :
error
 C2001: newline in constant
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2015: too many characters in constant
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2143: syntax error : missing ';' before 'constant'
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2501: 'Type' : missing storage-class or type specifiers
 [cc] c:\harmony\drlvm\trunk\vm\vmcore\include\version_svn_tag.h(21) :
error
 C2001: newline in constant

 Seems, the define of VERSION_SVN_TAG was splited to 2 string...
 thanks, Vladimir

What was it replaced with?



issues 980 and 981 were created to build drlvm on my pc again.
My svn (from CygWin_2.457.22 archive) does not support '--non-interactive'
option for the 'info'  subcommand and string @svn.revision@ from the file
version_svn_tag_orig.h substituted to 2 strings
Subcommand 'info' doesn't accept option '--non-interactive'
Type 'svn help info' for usage.
It leads to errors on compilation.

thanks, Vladimir


geir




 On 7/26/06, Alexey Petrenko [EMAIL PROTECTED] wrote:

 First of all, welcome to Harmony! :)

 Awt and Swing modules are already in svn. So you do not need to
 download them separately.

 Just checkout clean classlib repository, run
 depends/libs/build/fetch-awt-depends.sh script and finally run ant
 -Dwith.awt.swing=true.

 If you are using drlvm do not forget to copy new classlib to its
 deploy directory or just rerun drlvm build script.

 And let us now about the results! :)

 SY, Alexey



 2006/7/26, zouqiong [EMAIL PROTECTED] :
  en, i download the swing, awt package from
 
  http://issues.apache.org/jira/browse/HARMONY-528
 
  and i follow the instructions in READ.txt
 
  but when i compile the misc, the error comes as follows:
 
  Buildfile: build.xml
 
  timestamp:
   [echo] build-date=20060727
   [echo] build-time=20060727_1415)
   [echo] on platform=Linux version=2.6.15-1.2054_FC5 arch=i386
   [echo] with java home = /usr/local/jdk1.5.0_06/jre VM version =
  1.5.0_06-b05 vendor = Sun Microsystems Inc.
 
  setname.win:
 
  setname.linux:
 
  init:
   [echo] platform name=lnx
[taskdef] Could not load definitions from resource cpptasks.tasks.
It
  could not be found.
[typedef] Could not load definitions from resource cpptasks.types.
It
  could not be found.
   [echo] if.x86_64=${if.x86_64}
   [echo] if.x86=true
   [echo] if.ipf=${if.ipf}
   [echo] create base dirs...
 
  init.java_home:
   [echo] JAVA_HOME=/usr/local/jdk1.5.0_06
 
  init.win:
 
  init.linux:
 
  compile.api:
   [echo] Compiling api classes from
 

/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/common/java,

 

/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/src/linux/java

  [javac] Compiling 10 source files to
  /home/ustczz/java/DRLVM/Harmony-origin/Harmony/build/classes
 
  BUILD FAILED
 

/home/ustczz/java/DRLVM/Harmony-origin/Harmony/modules/misc/make/build.xml:257:


  Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter' can't be
 found.
 
  i can build the drlvm on the same platform successfully, and i think
 the
  drlvm also need
  Compiler Adapter 'org.eclipse.jdt.core.JDTCompilerAdapter'
 
  so how the error comes? Thanks a lot for telling me the answer.
 
  2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
  
   From this I deduce you built it yourself :)
  
   If you want Swing/AWT included, you need to  :
  
   1) Follow directions in depends/lib/build to get the dependencies.
  
   2) set the property  with.awt.swing to true when building...
  
   geir
  
  
   zouqiong wrote:
fc5   gcc-3.4.6
   
2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:
   
Are you using a snapshot or did you build it yourself?
   
What platform?
   
geir
   
   
zouqiong wrote:
 does drlvm support for swing classlib?

 when I run Java2Demo.jar which is compiled with jdk, some
error
   comes:

 java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 Caused by: java.lang.ClassNotFoundException:
javax.swing.JPanel
at 

Re: some question about drlvm

2006-07-26 Thread Vladimir Gorr

Hi Zouqiong,

it's fine almost all problems have been resolved on your side.
Could you please create new Jira issue and attach your jar file here?
This needs us to reproduce your issue on our side if any.

Thanks,
Vladimir.

On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:


i solve the problem if i used the jdk1.5

platfrom: fc5, gcc-3.4.6, jdk1.5

and i find that the java replaced ij.. :-)
and i use the new java to compile my application, however new problem
encounters,
there is no error information comes out,  it seems that it has stopped to
compile the
application, but still running.

so i use gdb to trace it,  and i use bt commond, you can see the stack.


(gdb) run -jar EIOffice.jar
Starting program:
/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/java.exec
-jar EIOffice.jar
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x988000
[Thread debugging using libthread_db enabled]
[New Thread -1208674624 (LWP 3512)]
[New Thread 76307360 (LWP 3515)]
[New Thread 31476640 (LWP 3516)]
[New Thread 52206496 (LWP 3519)]
[New Thread 87272352 (LWP 3520)]
[New Thread 97762208 (LWP 3521)]
[New Thread 115604384 (LWP 3524)]
[Thread 115604384 (LWP 3524) exited]
[New Thread 115604384 (LWP 3525)]
[New Thread 134413216 (LWP 3526)]
[Thread 115604384 (LWP 3525) exited]
[Thread 87272352 (LWP 3520) exited]


Program received signal SIGINT, Interrupt.
[Switching to Thread -1208674624 (LWP 3512)]
0x00988402 in __kernel_vsyscall ()
(gdb) ps ax
Undefined command: ps.  Try help.
(gdb) bt
#0  0x00988402 in __kernel_vsyscall ()
#1  0x0024f48c in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0x001d5098 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libc.so.6
#3  0x00f6df0a in vm_wait_for_single_object (hHandle=140436112,
dwMillisec=2000)
   at

/home/ustczz/harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/linux/os_wrapper.cpp:285
#4  0x00f7f8f8 in wait_until_non_daemon_threads_are_dead ()
   at

/home/ustczz/harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/thread_generic.cpp:918
#5  0x00f04207 in Java_java_lang_VMStart_joinAllNonDaemonThreads
(jenv=0x113b0f0, starter=0xbfa70bf4)
   at

/home/ustczz/harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_VMStart.cpp:29
#6  0x002b7da0 in ?? ()
#7  0x0113b0f0 in java_vm () from

/home/ustczz/harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/libvmcore.so
#8  0xbfa70bf4 in ?? ()
#9  0x00010009 in ?? ()
#10 0x in ?? ()

I hope the trace can help to find the problem, and thank you for solving
it
:-)




Re: some question about drlvm

2006-07-26 Thread zouqiong

Hi, Sir,
 I am afraid, i can`t attach the java application with gmail,  maybe
it`s too large??
Its size is 24M,  within the 1G of gmail, isn`t it?
 Is there other ways i can attach  my jar files?


Re: some question about drlvm

2006-07-26 Thread Xiao-Feng Li

Hi, besides the mbox size, please also note the license issue before
you forward your EIOffice.jar. :-)

(Probably you can give a link of the original downloaded site. I don't know.)

Thanks,
xiaofeng

On 7/27/06, zouqiong [EMAIL PROTECTED] wrote:

Hi, Sir,
  I am afraid, i can`t attach the java application with gmail,  maybe
it`s too large??
Its size is 24M,  within the 1G of gmail, isn`t it?
  Is there other ways i can attach  my jar files?




-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: some question about drlvm

2006-07-25 Thread zouqiong

fc5   gcc-3.4.6

2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:


Are you using a snapshot or did you build it yourself?

What platform?

geir


zouqiong wrote:
 does drlvm support for swing classlib?

 when I run Java2Demo.jar which is compiled with jdk, some error comes:

 java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.VMClassRegistry.defineClass()
at java.lang.ClassLoader.defineClass()
at java.security.SecureClassLoader.defineClass()
at java.net.URLClassLoader.findClassImpl()
at java.net.URLClassLoader$4.run()
at java.security.AccessController.doPrivilegedImpl()
at java.security.AccessController.doPrivileged()
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
at java.net.URLClassLoader.findClass()
at java.lang.ClassLoader.loadClass()
at java.net.URLClassLoader$SubURLClassLoader.loadClass()
at java.lang.ClassLoader.loadClass()
at java.lang.VMClassRegistry.defineClass()

 how can i solve the problem?  Thanks a lot.


-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: some question about drlvm

2006-07-25 Thread Geir Magnusson Jr
From this I deduce you built it yourself :)

If you want Swing/AWT included, you need to  :

1) Follow directions in depends/lib/build to get the dependencies.

2) set the property with.awt.swing to true when building...

geir


zouqiong wrote:
 fc5   gcc-3.4.6
 
 2006/7/26, Geir Magnusson Jr [EMAIL PROTECTED]:

 Are you using a snapshot or did you build it yourself?

 What platform?

 geir


 zouqiong wrote:
  does drlvm support for swing classlib?
 
  when I run Java2Demo.jar which is compiled with jdk, some error comes:
 
  java.lang.NoClassDefFoundError: javax/swing/JPanel
 at java.lang.VMClassRegistry.defineClass()
 at java.lang.ClassLoader.defineClass()
 at java.security.SecureClassLoader.defineClass()
 at java.net.URLClassLoader.findClassImpl()
 at java.net.URLClassLoader$4.run()
 at java.security.AccessController.doPrivilegedImpl()
 at java.security.AccessController.doPrivileged()
 at java.net.URLClassLoader.findClass()
 at java.lang.ClassLoader.loadClass()
 at java.net.URLClassLoader$SubURLClassLoader.loadClass()
  Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
 at java.net.URLClassLoader.findClass()
 at java.lang.ClassLoader.loadClass()
 at java.net.URLClassLoader$SubURLClassLoader.loadClass()
 at java.lang.ClassLoader.loadClass()
 at java.lang.VMClassRegistry.defineClass()
 
  how can i solve the problem?  Thanks a lot.
 

 -
 Terms of use : http://incubator.apache.org/harmony/mailing.html
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 

-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]