Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

.cassandra.ps1 -install is returning an error for step17 in Updating Cassandra procedure

Solved874 views17th May 2023
0
Jo Aldin Ano46 27th April 2023 1 Comment

Hi Skyline team,

May I please request for your help to advise as Step 17 command is returning an error for the below procedure.

https://docs.dataminer.services/user-guide/Advanced_Functionality/Security/Advanced_security_configuration/Database_security/Security_Cassandra_general/Cassandra_updating.html?tabs=tabid-1

PS C:\Program Files\Cassandra\bin> .\cassandra.ps1 -install
Get-Command : The term 'java.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\Cassandra\conf\cassandra-env.ps1:265 char:13
+ elseif (Get-Command "java.exe")
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (java.exe:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Regards,

Aldin

Seppe Dejonckheere [SLC] [DevOps Advocate] Selected answer as best 17th May 2023
Jo Aldin Ano commented 27th April 2023

Hi All,

This is issue is fixed by closing Powershell after Step16. Kindly help to update the procedure.

Thank you.

Regards,
Aldin

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Debeuf Klaas [SLC] [DevOps Advocate]1.67K Posted 27th April 2023 3 Comments

Hi,

Probably the Java is not in the Path variables in the environment variables.
You can follow this guide to set it.
Regards,

Seppe Dejonckheere [SLC] [DevOps Advocate] Posted new comment 27th April 2023
Miguel Obregon [SLC] [DevOps Catalyst] commented 27th April 2023

Hi Klaas,
The link attached suggests to include in the path variable the location of JDK (e.g. C:Program FilesJavajdk1.x). This implies that JDK should be installed on the server. If I am not mistaken, Cassandra comes with a JDK available in C:Program FilescassandraJavabin
Which JDK should be included in the variable path, the one that comes from Cassandra, or the one that has been installed on the server?

Debeuf Klaas [SLC] [DevOps Advocate] commented 27th April 2023

Hi, I don’t think that matters, but indeed the one with Cassandra is the best option.

Seppe Dejonckheere [SLC] [DevOps Advocate] commented 27th April 2023

I would recommend to use the JDK that comes with cassandra as I have seen some issues in the past when the installed JDK versions was different from the one that comes with cassandra.

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin