*/
public class Jalview
{
+
+ // BH 6/19/2018 starting to work on JS version - just discovering issues
+
/*
* singleton instance of this class
*/
public static AlignFrame currentAlignFrame;
+ public static boolean isJS = /** @j2sNative true || */ // BH 2018
+ false;
+
static
{
+
+ if (!isJS)
+ { // BH 2018
// grab all the rights we can the JVM
Policy.setPolicy(new Policy()
{
{
}
});
+
+ }
}
/**
*/
void doMain(String[] args)
{
- System.setSecurityManager(null);
+
+ if (!isJS)
+ {
+ System.setSecurityManager(null);
+ }
+
System.out
.println("Java version: " + System.getProperty("java.version"));
System.out.println(System.getProperty("os.arch") + " "