Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to test the tool #1

Open
EmadHassanin opened this issue Nov 15, 2019 · 0 comments
Open

Failed to test the tool #1

EmadHassanin opened this issue Nov 15, 2019 · 0 comments

Comments

@EmadHassanin
Copy link

Dear authors,

I am trying to test the tool on Debian GNU/Linux 10, I have this java information:

OpenJDK Runtime Environment (build 11.0.1-internal+0-adhoc..src)
OpenJDK 64-Bit Server VM (build 11.0.1-internal+0-adhoc..src, mixed mode) 

and trying to compile the tool by running javac Main.java and I got the following output:

$ javac Main.java
Main.java:41: error: package org.bouncycastle.util.encoders does not exist
import org.bouncycastle.util.encoders.Base64;
                                     ^
Main.java:43: error: package com.sg.secram.encryption does not exist
import com.sg.secram.encryption.SECRAMEncryptionFactory;
                               ^
Main.java:44: error: package com.sg.secram.example does not exist
import com.sg.secram.example.Bam2SecramDir;
                            ^
Main.java:45: error: package com.sg.secram.example does not exist
import com.sg.secram.example.Bam2SecramFile;
                            ^
Main.java:46: error: package com.sg.secram.example does not exist
import com.sg.secram.example.Secram2BamFile;
                            ^
Main.java:48: error: package net.sourceforge.argparse4j does not exist
import net.sourceforge.argparse4j.ArgumentParsers;
                                 ^
Main.java:49: error: package net.sourceforge.argparse4j.inf does not exist
import net.sourceforge.argparse4j.inf.ArgumentParser;
                                     ^
Main.java:50: error: package net.sourceforge.argparse4j.inf does not exist
import net.sourceforge.argparse4j.inf.ArgumentParserException;
                                     ^
Main.java:51: error: package net.sourceforge.argparse4j.inf does not exist
import net.sourceforge.argparse4j.inf.Namespace;
                                     ^
Main.java:72: error: cannot find symbol
		ArgumentParser parser = ArgumentParsers
		^
  symbol:   class ArgumentParser
  location: class Main
Main.java:72: error: cannot find symbol
		ArgumentParser parser = ArgumentParsers
		                        ^
  symbol:   variable ArgumentParsers
  location: class Main
Main.java:99: error: cannot find symbol
		Namespace ns = null;
		^
  symbol:   class Namespace
  location: class Main
Main.java:102: error: cannot find symbol
		} catch (ArgumentParserException e) {
		         ^
  symbol:   class ArgumentParserException
  location: class Main
Main.java:111: error: cannot find symbol
			key = Base64.decode(reader.readLine());
			      ^
  symbol:   variable Base64
  location: class Main
Main.java:119: error: cannot find symbol
			key = SECRAMEncryptionFactory.generateSecret(24);
			      ^
  symbol:   variable SECRAMEncryptionFactory
  location: class Main
Main.java:122: error: cannot find symbol
			writer.write(new String(Base64.encode(key)));
			                        ^
  symbol:   variable Base64
  location: class Main
Main.java:125: error: cannot find symbol
			Bam2SecramFile.bam2secram(ns.getString("input"),
			^
  symbol:   variable Bam2SecramFile
  location: class Main
Main.java:128: error: cannot find symbol
			Secram2BamFile.secram2bam(ns.getString("input"),
			^
  symbol:   variable Secram2BamFile
  location: class Main
Main.java:131: error: cannot find symbol
			Bam2SecramDir.convertDirectory(ns.getString("input"),
			^
  symbol:   variable Bam2SecramDir
  location: class Main
19 errors

I have the same errors while running java Main.java. Sorry I am not used to Java, it would be great if you could guide me.

Thanks in advance,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant