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

Oracle Community | sean_banna | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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