java.lang.SecurityException: relative pathnames are not allowed(com1:)

Oracle Community | sean_banna | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JVM serial Port communication

    Oracle Community | 2 decades ago | sean_banna
    java.lang.SecurityException: relative pathnames are not allowed(com1:)

    Root Cause Analysis

    1. java.lang.SecurityException

      relative pathnames are not allowed(com1:)

      at oracle.aurora.rdbms.SecurityManagerImpl.checkFileIsAbsolute()
    2. oracle.aurora.rdbms
      SecurityManagerImpl.checkWrite
      1. oracle.aurora.rdbms.SecurityManagerImpl.checkFileIsAbsolute(SecurityManagerImpl.java)
      2. oracle.aurora.rdbms.SecurityManagerImpl.checkWrite(SecurityManagerImpl.java)
      2 frames
    3. Java RT
      FileOutputStream.<init>
      1. java.io.FileOutputStream.<init>(FileOutputStream.java)
      2. java.io.FileOutputStream.<init>(FileOutputStream.java)
      2 frames
    4. com.bannasoft.serial
      SerialTest.sendit
      1. com.bannasoft.serial.SerialTest.sendit(SerialTest.java:27)
      1 frame