how to move a JDeveloper folder correctly

To move a JDeveloper folder to a new location/machine:

  1. First find and edit the following files to the new path:
  2. Change all the paths referencing the old JDeveloper folder with the new path i.e.
    old path is: c:\jdev_10.1.3.4
    and new path is: c:\user\jdev10.1.3.4,
    so everything should change to: c:\user\jdev10.1.3.4

how to use jar file commands

To extract a jar file from the command-line:

  • jar xf myapp.jar -extract a jar-file into jar-file-name-dir (within same dir)
  • jar xf myapp.jar file1 file2 file3 -extractspecific files only
  • jar cf myapp.jar file1 file2 dir1 -create a jar-file from a path(s)
  • jar tf myapp.jar -list contents of a jar-file
  • jre -cp myapp.jar MyMainClass -execute main class within a jar-file
  • java -jar myapp.jar