Create linear.java