nick-measurezero / scalalab

Automatically exported from code.google.com/p/scalalab
0 stars 0 forks source link

Problems with ScalaLab and Mac #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the .zip
2. unpack & navigate to the folder
3. run ./RunScalaLabLinux64.sh

What is the expected output? What do you see instead?
Unsupported major.minor version 51.0 at 
java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

What version of the product are you using? On what operating system?
Mac OS X v10.6.8
Java version 1.6.0_33

Please provide any additional information below.
Hi, running ScalaLab perfectly on work Windows machine. Would love to get up 
and running on the Mac but can't get the code to compile. Is it a Java version 
thing?

Original issue reported on code.google.com by dlee...@googlemail.com on 17 Aug 2012 at 6:17

GoogleCodeExporter commented 9 years ago
ScalaLab210 and ScalaLab292 require JDK 7, so you should install a JDK 7 
compliant on Mac. ScalaLab282 perhaps can run with Java version 1.6.0_33.

Original comment by st...@teikav.edu.gr on 18 Aug 2012 at 1:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
With the above explanation this should probably be in 'resolved' status. 
However (on OS X 10.8.4 and JDK 7.11):

$ ./RunScalaLabLinux64.sh 
fullJarPath = jar:file:/Users/asko/Sources/ScalaLab2102June12/ScalaLab210.jar
scalalabJarName = = ScalaLab210.jar
jarFilePath= = ScalaLab210.jar
GlobalValues.scalalabLibPath = lib/
Exception trying to read scalalabUserPaths.txt
$

Should I have a file named scalalabUserPaths.txt ?

Original comment by akau...@gmail.com on 14 Jun 2013 at 1:19

GoogleCodeExporter commented 9 years ago
By manually creating an empty file scalalabUserPaths.txt the command proceeds. 
And exits. I was expecting a GUI of some sort to pop up. Thanks for help.

Original comment by akau...@gmail.com on 14 Jun 2013 at 1:26

GoogleCodeExporter commented 9 years ago
face the same problem under Mac. Any solution yet? Thanks a lot.

Original comment by happy...@gmail.com on 8 Jul 2013 at 5:01

GoogleCodeExporter commented 9 years ago
I also have the same issues on a Mac

Mac OSX 10.7.5
Java 1.7.0_40

Here's what happens:

$ ./RunScalaLabLinux64.sh
Full Path of the main ScalaLab .jar file  = 
jar:file:/Users/primary/Desktop/Programming/ScalaLab/ScalaLab211.jar
scalalabJarName = = ScalaLab211.jar
Trying to load NR library [NROps.so] ...
Current Path = /Users/primary/Desktop/Programming/ScalaLab
$

it proceeds...then exits.

Any ideas?

Original comment by TomaszFo...@gmail.com on 21 Sep 2013 at 7:51

GoogleCodeExporter commented 9 years ago
Also, I try this on my Raspberry Pi running Java 1.8 SE Beta and get

"$ ./RunScalaLabLinux32.sh
Java HotSpot(TM) Client VM warning: INFO: os::commit_memory(0x68c00000, 
419430400, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 419430400 bytes for committing 
reserved memory.
# An error report file with more information is saved as:
# /home/pi/hs_err_pid3174.log"

anyone successfully get ScalaLab to run on either their Mac or Raspberry Pi? I 
really want to explore this program

Original comment by TomaszFo...@gmail.com on 21 Sep 2013 at 7:52

GoogleCodeExporter commented 9 years ago
Solved:

I used ScalaLab292July30.zip and ran ./RunScalaLab.sh

it launched on my Mac with no issues. Finally!

Original comment by TomaszFo...@gmail.com on 21 Sep 2013 at 8:00

GoogleCodeExporter commented 9 years ago
Hi, 

I am using Mac OS X 10.9 Mavericks.

martin@~/Desktop/ScalaLab211M5Oct22$ java -version
java version "1.7.0_12-ea"
Java(TM) SE Runtime Environment (build 1.7.0_12-ea-b08)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b28, mixed mode)
martin@~/Desktop/ScalaLab211M5Oct22$ ./RunScalaLabLinux64.sh 
Full Path of the main ScalaLab .jar file  = 
jar:file:/Users/martin/Desktop/ScalaLab211M5Oct22/ScalaLab211.jar
scalalabJarName = = ScalaLab211.jar
Trying to load NR library [NROps.so] ...
Current Path = /Users/martin/Desktop/ScalaLab211M5Oct22

... but ScalaLab does not start

Original comment by perdache...@gmail.com on 5 Nov 2013 at 9:05

GoogleCodeExporter commented 9 years ago
ScalaLab211June23 works, but ScalaLab211M5Oct22 and ScalaLab211Nov04 do not run 
on my Mac System.

Original comment by perdache...@gmail.com on 5 Nov 2013 at 10:17

GoogleCodeExporter commented 9 years ago
The new ScalaLabAllFeb26.zip should now work on Mac OS X,
since I avoid to load missing native libraries.

It works?

Original comment by st...@teikav.edu.gr on 26 Feb 2015 at 8:55