declares n initialze javaVM in separate file