I need help!

AleksandarK

/dev/null
Original poster
May 14, 2017
703
774
Hello,

I need someone experienced with Java so he could help me.

Let me explain.

I am working with Static Free Software(VLSI design tool), which requires Java to run. I downloaded Java and i am now running it.
So what is the problem?
The problem is the fact that i want 3D and the 3D feature is a Java enhancement(also called Jar), not a software plug-in.
I am talking about this:
http://www.staticfreesoft.com/jmanual/mchap01-05.html
Under the "3D" part.

I have no experience with Java, as my language is Phyton.

Can someone please help?
 
Last edited:
  • Like
Reactions: Biowarejak

Soul_Est

SFF Guru
SFFn Staff
Feb 12, 2016
1,531
1,926
The thing I am wondering is what it is that You're trying to do and how are you doing it now? According to the webpage:

On Windows, you must use the ";" to separate jar files, and you might also have to quote the collection since ";" separates commands:
java -classpath "electric.jar;bsh-2.0b1.jar" com.sun.electric.Launcher
The above text can be placed into a ".bat" file to make a double-clickable Electric launch. You can also add Java switches and special Electric controls mentioned in Section 1-3. For example, to add in the SFS extension and extend the memory to 1GB, you can put this line in the ".bat" file:
java -classpath "electric.jar;electricSFS.jar" -mx1000m
com.sun.electric.Launcher
 

AleksandarK

/dev/null
Original poster
May 14, 2017
703
774
The thing I am wondering is what it is that You're trying to do and how are you doing it now? According to the webpage:
I am trying to add 3D support, so i can view the circuit in 3D and i try to load it with following:
java -classpath "electric.jar:bsh-aviatrix3d-all_2.2.0.jar" com.sun.electric.Launcher
And all i get is:
Code:
Error: Could not find or load main class com.sun.electric.Launcher
 
Last edited:

Soul_Est

SFF Guru
SFFn Staff
Feb 12, 2016
1,531
1,926
What about using
Code:
java -classpath "electric.jar:bsh-aviatrix3d-all_2.2.0.jar" electricSFS-9.07.jar
?
 

AleksandarK

/dev/null
Original poster
May 14, 2017
703
774
Code:
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -server       to select the "server" VM
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.

This is the result of:
Code:
java -classpath "electric.jar:bsh-aviatrix3d-all_2.2.0.jar"

Will check if it is working properly tonight.
 

Soul_Est

SFF Guru
SFFn Staff
Feb 12, 2016
1,531
1,926
Probably for the best. One of the reasons I disliked Java was for what I thought as an asinine dependency system. Obvious when you get it and aggravating before then.
 

jtd871

SFF Guru
Jun 22, 2015
1,166
851
It looks like you are using a colon instead of a semicolon between "jar" and "bsh". Try using a semicolon and see if that does the trick.