Could not create the Java virtual machine

后端 未结 5 1797
野性不改
野性不改 2021-02-06 22:09

facing some problem with java virtual machine initialization. when i am using root account i can properly work with java. but when i am a user account it returns following error

5条回答
  •  Happy的楠姐
    2021-02-06 22:54

    The problem got resolved when I edited the file /etc/bashrc with same contents as in /etc/profiles and in /etc/profiles.d/limits.sh and did a re-login.

提交回复
热议问题