Try Playground
Show / Hide Table of Contents

Troubleshooting Playground

If you are using the Playground installer to launch Playground and want to use both clients, you must set up an environment for both.

Playground .NET Samples Require .NET 6.0 SDK

Playground requires the .NET 6.0 installed on the system to Run the .NET code samples and .NET 6.0 SDK to Compile & Run the .NET samples. If .NET 6.0 SDK is not present on the system, then the .NET samples Compile & Run console output presents the user with the message "Playground Samples require .NET 6.0 or newer to be installed on the system".

Workaround

  • Windows
  • Linux
  • Download and install .NET 6.0.
  • Stop the Playground process using the command below:
Stop-NCachePlaygroundProcess
  • Start the Playground process using the command below:
Start-NCachePlaygroundProcess
  • Download and install .NET 6.0.
  • Go to %NCHOME%/bin/tools/, and stop the Playground process using the command below:
stop-ncacheplaygroundprocess
  • Start the Playground process using the command below:
start-ncacheplaygroundprocess

Playground Java Samples Require Java-JDK-17 and Maven

Playground requires JDK 17 and the necessary Maven packages to be installed for the Run and Compile & Run functionality of Java samples.

  • If JDK17 is not installed, then the Java samples Run console output presents the user with the following error message:

    "NCache Samples require Java-JDK-17 or newer to be installed on the system. If you have Java installed in your system, make sure that the 'JAVA_HOME' environment variables are set correctly. After that, please update the 'JAVA_HOME' property in the appsettings.json file to point to the installation directory of Java. The appsettings.json file is located at %NCHOME%\bin\tools\playground\app\appsettings.json (Windows) and $NCHOME/ext/playground/app/appsettings.json (Linux)".

  • If the necessary Maven packages are not pre-installed, then the Java samples Compile & Run console output presents the user with the following error message:

    "Before using NCache Playground on Windows, please ensure that Apache Maven is installed on your system. Make sure that the 'MAVEN_HOME' environment variables are set correctly. After installing Maven, please update the 'MAVEN_HOME' property in the appsettings.json file to point to the installation directory of Maven. The appsettings.json file is located at %NCHOME%\bin\tools\playground\app\appsettings.json (Windows) and $NCHOME/ext/playground/app/appsettings.json (Linux)."

Workaround

  • Windows
  • Linux
  • Download and install JDK 17.
  • Set the Environment Variable for Java Home.
  • Download and install the Maven.
  • Update the maven_home property in the appsettings.json file placed at %NCHOME%\bin\tools\playground\app.
  • Stop the Playground process using the command below:
Stop-NCachePlaygroundProcess
  • Start the Playground process using the command below:
Start-NCachePlaygroundProcess
  • Download and install JDK 17.
  • Set the Environment Variable for Java Home.
  • Download and install the Maven.
  • Update the maven_home property in the appsettings.json file at $NCHOME/ext/playground/app/.
  • Go to %NCHOME%/bin/tools/, and stop the Playground process using the command below:
stop-ncacheplaygroundprocess
  • Start the Playground process using the command below:
start-ncacheplaygroundprocess

See Also

Installation Guide
Programmer's Guide
Administrator's Guide

In This Article
  • Playground .NET Samples Require .NET 6.0 SDK
    • Workaround
  • Playground Java Samples Require Java-JDK-17 and Maven
    • Workaround
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top