Author Topic: AutoTagging For Java Didn't Work - How To Do It Manually?  (Read 527 times)

tinker123

  • Community Member
  • Posts: 98
  • Hero Points: 3
AutoTagging For Java Didn't Work - How To Do It Manually?
« on: February 09, 2023, 10:21:26 PM »
SlickEdit 2011 (v16.0.3.0 64-bit)
Linux Mint 21.1
Configuration Directory: /home/steve/.slickedit/16.0.3/

I have the existing installation above.  For some reason AutoTagging never worked for Java.

This is what I get with Tools > Tag Files:

https://i.paste.pics/9c8d87137bcc53d3f54268f1bd0b824a.png

The JDK is in my PATH:

Code: [Select]
Mint21.1VeraCinnamon5.6.6> echo $PATH
/home/steve/Scripts:/home/steve/Programs/Slickedit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/jdk-18/bin:/usr/lib/jvm/jdk-18/db/bin
Mint21.1VeraCinnamon5.6.6>

How can I get SlickEdit to setup for Java the way it detected and setup for C?

Thanks for any clues.


Dennis

  • Senior Community Member
  • Posts: 3966
  • Hero Points: 517
Re: AutoTagging For Java Didn't Work - How To Do It Manually?
« Reply #1 on: February 10, 2023, 07:50:23 PM »
Recognize first that you are using a version of SlickEdit that was shipped 10 years before Java 18, so this might be good time to upgrade.

But you can manually create a Java tag file.  Tools > Tag Files > New..., then select Java as the language.  I don't recall if v16 had the guided dialog for creating a language specific tag file, if not, just create the empty tag file, then click on "Add Files" and add src.jar from your JDK installation directory.

tinker123

  • Community Member
  • Posts: 98
  • Hero Points: 3
Re: AutoTagging For Java Didn't Work - How To Do It Manually?
« Reply #2 on: February 11, 2023, 01:06:50 PM »
That worked!  Thank you!

For the sake of anyone who may have a similar question and who may arrive here by a search engine:

On my system

Mint Linux 21.1
OpenJDK 19

That path was

/usr/lib/jvm/openjdk-19/lib/src.zip