Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

What's 'java -server' option ?

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


wbzhao at travelsky

Nov 16, 2009, 5:54 PM

Post #1 of 5 (1556 views)
Permalink
What's 'java -server' option ?

Hi, all
I found a suggestion in 'Lucene in Action' : use 'java -server' to run faster.
As I tested, it's 2 times faster than normal 'java' which uses
'-client' as default.
But I can't find any doc about this -server.
Does anybody know that ?
thanks.

--

Best Regards,
ZHAO, Wenbo

=======================

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


ihasmax at gmail

Nov 16, 2009, 5:57 PM

Post #2 of 5 (1522 views)
Permalink
Re: What's 'java -server' option ? [In reply to]

http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client

On Mon, Nov 16, 2009 at 7:54 PM, Wenbo Zhao <wbzhao [at] travelsky> wrote:

> Hi, all
> I found a suggestion in 'Lucene in Action' : use 'java -server' to run
> faster.
> As I tested, it's 2 times faster than normal 'java' which uses
> '-client' as default.
> But I can't find any doc about this -server.
> Does anybody know that ?
> thanks.
>
> --
>
> Best Regards,
> ZHAO, Wenbo
>
> =======================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>


zhaowb at gmail

Nov 16, 2009, 5:59 PM

Post #3 of 5 (1518 views)
Permalink
Re: What's 'java -server' option ? [In reply to]

Sorry guys, AGAIN I used wrong search word, please ignore this thread
I found a doc here
http://java.sun.com/j2se/1.3/docs/guide/performance/hotspot.html

I used 'java -server', google gives no useful info
Just now I use 'java server vm', then I found the doc
It's really an ironic to who is studying lucene.
Sorry about bring useless thread here.


2009/11/17 Wenbo Zhao <wbzhao [at] travelsky>:
> Hi, all
> I found a suggestion in 'Lucene in Action' : use 'java -server' to run faster.
> As I tested, it's 2 times faster than normal 'java' which uses
> '-client' as default.
> But I can't find any doc about this -server.
> Does anybody know that ?
> thanks.
>
> --
>
> Best Regards,
> ZHAO, Wenbo
>
> =======================
>



--

Best Regards,
ZHAO, Wenbo

=======================

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


lucene at mikemccandless

Nov 17, 2009, 2:35 AM

Post #4 of 5 (1506 views)
Permalink
Re: What's 'java -server' option ? [In reply to]

Remember that, like Lucee, if you give this query to google:

java -server

It means "find all docs that contain java and do not contain server".
I'm sure this has messed up a great many people trying to figure out
command line options ;)

The fix is to put the -server in double quotes:

java "-server"

Mike

On Mon, Nov 16, 2009 at 8:59 PM, Wenbo Zhao <zhaowb [at] gmail> wrote:
> Sorry guys, AGAIN I used wrong search word, please ignore this thread
> I found a doc here
> http://java.sun.com/j2se/1.3/docs/guide/performance/hotspot.html
>
> I used 'java -server', google gives no useful info
> Just now I use 'java server vm', then I found the doc
> It's really an ironic to who is studying lucene.
> Sorry about bring useless thread here.
>
>
> 2009/11/17 Wenbo Zhao <wbzhao [at] travelsky>:
>> Hi, all
>> I found a suggestion in 'Lucene in Action' : use 'java -server' to run faster.
>> As I tested, it's 2 times faster than normal 'java' which uses
>> '-client' as default.
>> But I can't find any doc about this -server.
>> Does anybody know that ?
>> thanks.
>>
>> --
>>
>> Best Regards,
>> ZHAO, Wenbo
>>
>> =======================
>>
>
>
>
> --
>
> Best Regards,
> ZHAO, Wenbo
>
> =======================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


zhaowb at gmail

Nov 17, 2009, 5:13 AM

Post #5 of 5 (1498 views)
Permalink
Re: What's 'java -server' option ? [In reply to]

right!
this just emphasized the word 'ironic' :-)


2009/11/17 Michael McCandless <lucene [at] mikemccandless>:
> Remember that, like Lucee, if you give this query to google:
>
>    java -server
>
> It means "find all docs that contain java and do not contain server".
> I'm sure this has messed up a great many people trying to figure out
> command line options ;)
>
> The fix is to put the -server in double quotes:
>
>    java "-server"
>
> Mike
>
> On Mon, Nov 16, 2009 at 8:59 PM, Wenbo Zhao <zhaowb [at] gmail> wrote:
>> Sorry guys, AGAIN I used wrong search word, please ignore this thread
>> I found a doc here
>> http://java.sun.com/j2se/1.3/docs/guide/performance/hotspot.html
>>
>> I used 'java -server', google gives no useful info
>> Just now I use 'java server vm', then I found the doc
>> It's really an ironic to who is studying lucene.
>> Sorry about bring useless thread here.
>>
>>
>> 2009/11/17 Wenbo Zhao <wbzhao [at] travelsky>:
>>> Hi, all
>>> I found a suggestion in 'Lucene in Action' : use 'java -server' to run faster.
>>> As I tested, it's 2 times faster than normal 'java' which uses
>>> '-client' as default.
>>> But I can't find any doc about this -server.
>>> Does anybody know that ?
>>> thanks.
>>>
>>> --
>>>
>>> Best Regards,
>>> ZHAO, Wenbo
>>>
>>> =======================
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>> ZHAO, Wenbo
>>
>> =======================
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
>> For additional commands, e-mail: java-user-help [at] lucene
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>



--

Best Regards,
ZHAO, Wenbo

=======================

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.