0

I'm trying to solve a problem that seems to be the JPS is not available.

how can I find the JPS in my ubuntu?

java installed version is:

root@server:~/# java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

The problem I'm trying to solve is this: https://github.com/thinkaurelius/titan/issues/462#issuecomment-30589738

0

2 Answers 2

3

just go to path :

/usr/lib/(installation directory)/jdk1.6.0_33/bin/jps 

and find your jps, if present , if not then install jdk.

8
  • 1
    -bash: cd: /usr/lib/jvm: No such file or directory Apr 11, 2014 at 13:41
  • 1
    what is you java installation directory ? that refers to jvm. Apr 11, 2014 at 13:42
  • 1
    yes then your java directory is java, so follow path: /usr/lib/java/(jdk version)/bin and find jps. there. if not pls list the files present in java folder. Apr 11, 2014 at 13:44
  • 1
    yes it is, can you find bin folder and in that jps? but your which java shows /usr/bin/java, it means java is present in that folder only. Apr 11, 2014 at 13:48
  • 1
    i dont think these should be different, Where these folder reside, in same folder or different. i think it wont cause any error becs both are nearly same and stable versions. if there is jdk present means no need to worry about. Apr 12, 2014 at 1:08
2

I suspect you only have the JRE installed. You need the JDK for jps

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.