General Community > Chit Chat

My VPS & Java, jave version question...

(1/1)

MoreBloodWine:
If I told you this


--- Quote ---java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
--- End quote ---

is the java version installed on my VPS would you tell me that it's the most current installation / release of Java ?

That's what my host did but I keep reading and hearing a lot of things so I figured why not make a post here and get more than one opinion / answer.

Ty.

Also, as a side question... the installation as it stands now seems to run fine but when you try to use, java -version, in shell this gets spit out at you.


--- Quote ---Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

--- End quote ---

Mind you if I use something like the following, java -Xmx1024m -Xmx1024m -version, it works fine. AFAIK it seems to be a memory thing but that doesnt seem right since my VPS is running 4GB of RAM.

Nm the bit about disk space, it's just a cron I have set up to end me an email every 6 hrs.


--- Quote ---Current Disk Usage
Filesystem            Size  Used Avail Use% Mounted on
/dev/vzfs              50G   29G   22G  57% /
none                    7.9G  4.0K  7.9G   1% /dev

Current Memory Usage
Memory Limit...: 4096 MB (Burstable: 4096 MB)
Current Usage..: 396 MB (9%) (Requested: 804 MB)
Free Memory....: 3700 MB (91%)
--- End quote ---

Navigation

[0] Message Index

Go to full version