Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8070823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:31:01+00:00 2026-06-05T13:31:01+00:00

How do i set the classpath in a unix environment using tsch script. I

  • 0

How do i set the classpath in a unix environment using tsch script. I try to set the path as follows but it gives me errors

setenv CLASSPATH $CLASSPATH : path but it doens’t work saying -Bad : modifier in $(/). i dont understand why i cannot set this class path. Due to this i cannot run my .jar executable as i want to and i am running out of time. When i try to run the .jar file it give s me the following error

new error…it shows this when i try to run the jar file along with the path to where my jar file is actually located and this is the error i receive

Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
    at java.lang.System.initProperties(Native Method)
    at java.lang.System.initializeSystemClass(System.java:1070)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:31:02+00:00Added an answer on June 5, 2026 at 1:31 pm

    It sounds like there are at least two issues here:

    1) setenv CLASSPATH $CLASSPATH : path but it doens’t work saying -Bad
    : modifier in $(/).

    This sounds like a “tsch” error calling “setenv” with a bad value for “$CLASSPATH”. Take a look at your $CLASSPATH (or post it here): the problem should be apparent.

    2) Error occurred during initialization of VM

    This is because you don’t have a classpath yet. But fixing your “setenv()” syntax might not necessarily fix the “java init” problem – we’ll just have to take it one step at a time.

    Please post the value of echo $CLASSPATH, the value before you try “setenv”. That should help us fix problem 1)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to set the classpath using a java program without setting it form command
How do I set a CLASSPATH variable during runtime while using IKVM? I've been
C:\Users\shilps\Desktop>set PATH=%PATH%;C:\Program Files\Java\jdk1.6.0_22\bin C:\Users\shilps\Desktop>javac Populate.java C:\Users\shilps\Desktop>SET CLASSPATH = .;mysql-connector-java-5.1.13-bin.jar C:\Users\shilps\Desktop>java Populate db.properties flights.data reservations.data
I am using smart gwt 2.0.3 on windows xp. I have set a classpath
I've set the classpath envoirenment but still get an error Exception:com.mysql.jdbc.Driver Do you have
I am trying to set the CLASSPATH variable so that my java programs can
I've found examples on how to either set the classpath so that a Java
I have bat file like below with name myBat.bat 1) @echo off set CLASSPATH=%CLASSPATH%;C:\Documents
I want my classpath to be set via a batch file. I'm working on
I set up the basic Authentication/Authorization set up, but a problem now is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.