2

I keep seeing

 -bash: export: `=': not a valid identifier
 -bash: export: `/usr/lib/jvm/default-java': not a valid identifier
 -bash: export: `=': not a valid identifier
 -bash: export: `/usr/share/tomcat7': not a valid identifier

I know its when I was installing tomcat7 and java stuff but I can't remember where I made these changes.

Braiam
  • 66,947
  • 30
  • 177
  • 264
andydraysen
  • 23
  • 1
  • 1
  • 3
  • 3
    Possible duplicate of [How to fix "not a valid identifier" error after setting environment variables?](https://askubuntu.com/q/529919/22949) The answers there give details about what kinds of syntax mistakes produce "not a valid identifier" errors and specifically how to fix them. In particular, [mine](https://askubuntu.com/a/532873/22949) gives details about "not a valid identifier" errors showing `/`-delimited paths and also about such errors showing `=`, and [Patrick Mutuku's](https://askubuntu.com/a/935606/22949) gives brief, good advice. – Eliah Kagan Jun 15 '19 at 08:05

1 Answers1

1

Its saying that you have some problems in your .bashrc.

type as nano ~/.bashrc in your terminal.

check at that area of the lines and fix those errors.

then save & close.

then again type as bash or open your terminal .

Raja G
  • 100,643
  • 105
  • 254
  • 328