Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set Java HotSpot Server VM for Linux

 
suhas walanjoo
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a Java application running on JBoss 3.0.0 on Linux 7.3. When I run comman java -version

I get the following :

Java TM runtime Environement Standard Edition <build 1.4.1_01-b01
Java Hotspot <TM> Client VM Build 1.4.1_01-b01 <mixed mode>

From Sun Java site, I understand that for long running server tasks we need to use -server flag. When I try java -server command and check the version again, it still shows the client VM as above.

Can someone please clarify this issue (whether we really must have java - server option for JBoss/EJB based application). If yes, how d o we set it?? (I think a separate download as par tof JVM is not reuired.)

Regards,

Suhas Walanjoo
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java -server
is allright. It's the same program, starting in a different way.
Works fine for me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic