Scilab cannot create scilab java main class windows 10

Проблемы с Scilab в Ubuntu 16.04 — не запускается и пишет «Cannot create scilab java Main-class», что делать?

При этом нормально использовал, но через неделю не смог открыть и совсем ничего не смог нагуглить, переустанавливал не раз и разные версии. А вообще консоль выдает это :
Could not create a Scilab main class. Error:
Exception in thread «main» java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc . not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2071)
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1954)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216)
at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2297)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:988)
at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:722)
at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:733)
at org.scilab.modules.gui.SwingView.(Unknown Source)
at org.scilab.modules.gui.SwingView.registerSwingView(Unknown Source)
at org.scilab.modules.core.Scilab.(Unknown Source)

Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).

Пожалуйста подскажите что делать и всем заранее спасибо!

Проблемы с Scilab в Ubuntu 16.04 — не запускается и пишет «Cannot create scilab java Main-class», что делать?

При этом нормально использовал, но через неделю не смог открыть и совсем ничего не смог нагуглить, переустанавливал не раз и разные версии. А вообще консоль выдает это :
Could not create a Scilab main class. Error:
Exception in thread «main» java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc . not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2071)
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1954)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216)
at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2297)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:988)
at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:722)
at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:733)
at org.scilab.modules.gui.SwingView.(Unknown Source)
at org.scilab.modules.gui.SwingView.registerSwingView(Unknown Source)
at org.scilab.modules.core.Scilab.(Unknown Source)

Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).

Пожалуйста подскажите что делать и всем заранее спасибо!

[Scilab-users] 5.4.1 Cannot create Java Main-Class

Classic List Threaded

[Scilab-users] 5.4.1 Cannot create Java Main-Class

Scilab 5.4.1 was working a week or two ago on Windows XP -SP3. I came
back to it and started it again and got the message:

Scilab cannot create Scilab Java Main-Class (we have not been able to
find the main Scilab class. Check if the Scilab and thirdparty packages
are available).

I removed Scilab, restarted the machine, down loaded it again from the
website, re-installed it using defaults. Still the same message on the
very first offer to start it after the installation.

I don’t know about Java and classes. I have not knowingly done anything
with Java. I’m stuck. What do I do now?

Re: 5.4.1 Cannot create Java Main-Class

Re: 5.4.1 Cannot create Java Main-Class

Re: 5.4.1 Cannot create Java Main-Class

From this morning I am also having the same problem in windows 7 64x. I tried uninstalling java and scilab. I also changed the versions go both software and still the same error is appearing. Any clues how to solve it?

Thank you very much!

Re: 5.4.1 Cannot create Java Main-Class

Le 08/08/2013 18:14, matacosta a écrit :
> Hi,
>
> From this morning I am also having the same problem in windows 7 64x. I
> tried uninstalling java and scilab. I also changed the versions go both
> software and still the same error is appearing. Any clues how to solve it?
Try to remove or rename the SCIHOME configuration directory
http://help.scilab.org/SCIHOME

Re: 5.4.1 Cannot create Java Main-Class

[Scilab-users] Using intersci.

I’ve recently installed 5.4.1 running on linux mint debian, «olivia». I posted recently about issues related
to keyboard focus when running on a headless server via ssh -Y. I found a workaround and am struggling on.

I cannot figure out how to get dynamic linking to work as it used to. The single most useful feature
of scilab (matlab, octave, idl) is the ability to write fortran (specifically, fortran) code and link it dynamically.
(Nearly every useful numerical analysis function has already been written — in fortran.)

This worked fine in 4.0; I even got it to work in 5.4.1 windows, using the ATOMs module (I forget the name — in the Windows tools)

I can’t figure it out on the debian system.

The examples in /scilab-5.4.1/modules/intersci/examples seem not to build anymore.

0) Does anybody actually use this functionality??
1) Where is intersci-n?
2) Where is the Makefile.inc referred to in the /scilab-5.4.1/modules/intersci/examples/Makefile?
3) What questions should I be asking?

The «help» on intersci says to use «swig». without a couple of completely worked through examples, that’s not
much help.

Re: 5.4.1 Cannot create Java Main-Class

Thank you so much for the help now is all working fine!

Re: Using intersci. solved, sort of

Followup to this note:
===
I’ve recently installed 5.4.1 running on linux mint debian, «olivia». I posted recently about issues related
to keyboard focus when running on a headless server via ssh -Y. I found a workaround and am struggling on.
I cannot figure out how to get dynamic linking to work as it used to.
===

I figured out the dynamic linking intersci issues.
The short answer is, use the skeleton toolbox
scilab-5.4.1/contrib/toolbox_skeleton
as a sample.

There are various things to figure out — the trickiest was this —
Intersci may not be officially supported, but it’s there if you turn on the support.
You have to use intersci manually (or maybe there’s some other hack to the makefile?)
and it only makes c language interfaces — which is fine.
The generated code won’t compile unless you utter a particular incantation —
the «setenv» line below. toradiali.c is the code generated by intersci.
My code is toradial.f.

(If you want to see how painful it is to do this the «new» way, poke around in the toolbox,
and look at the various interface routines.
Also this was somewhat useful. obviously a lot of work to write. Thank you Michael.
http://perso.telecom-paristech.fr/

builder_gateway_fortran.sce:
===
// This file is released under the 3-clause BSD license. See COPYING-BSD.

function builder_gw_fortran()
setenv(«__USE_DEPRECATED_STACK_FUNCTIONS__»,»YES»);
libname=»sfhtst1″ ; // library name
names= [«fortran_sum»,»sci_fsum»; «toradial»,»intstoradial»]; // subroutine, interface pairs
files=[«sci_fsum.c»,»toradiali.c»] ; // The interface sources, maybe?
tbx_build_gateway(libname,names,files, ..
get_absolute_file_path(«builder_gateway_fortran.sce»), ..
[«../../src/fortran/libfsum»]);
endfunction

builder_gw_fortran();
clear builder_gw_fortran; // remove builder_gw_fortran on stack
===
The «tbx_* routines copy everything to TMPDIR so that’s where you look to see what’s going on.

Scilab cannot create scilab java main class windows 10

I got the following message after the install when I want to run scilab.

Scilab cannot create Scilab Java Main_Class.
(We have not been able to find the main Scilab Class.
Check if the Scilab and thirdparty packages area available).

Is there anybody who can help me with this problem.
I thank you very much.

Can you make a copy of your SCIHOME
(http://help.scilab.org/docs/5.5.0/en_US/SCIHOME.html) directory before
removing it and then restart Scilab?

If Scilab starts after this cleanup we will use your SCIHOME copy as a
basis for a bug report.

I am very sorry but it did not find a subdirectory scihome and

dir scihome.html /s /p did not find any file on my drive C:
and :

C:\Program Files\scilab-5.5.0>DIR >>C:\LISTING.TXT
Access is denied.

gives access denied.

Now I am really in an ‘impasse’ and I really have no idea what to do .
I am unable to send you a listing of my directory structure.
Is it possible that there is a problem with administrator access ?
I really do not know.
Please help me.

Thank you very much Vincent and others.

It’s not scihome, but capital letters SCIHOME, which again is not the
real name of the directory, but a variable.

Start Scilab, in the console window, please type SCIHOME and Scilab
should respond with something like (in my case, Windows 7):

Please try this in your system and work your way .

Please reply on the list so others can help you. I’m just a private
person and far from an expert in Scilab.

Are you on a Windows machine (which version?) . or a Linux machine, or ??

Which version of Scilab have you installed?

I didn’t advice you to start Scilab in console mode . why do you want
to do that?
The Scilab GUI has 4 windows:

1. Left side = File browser
2. Middle = CONSOLE
3. Top right = Variable browser
4. Bottom right = Command History

As you can see, the CONSOLE is there, right in the middle of your GUI.
At least, this is the default setup for Scilab.

I’m not sure what went wrong with your installation, but one advice
would be to remove the installation, then re-download and re-install
(get Scilab 5.5.0).

scilex | scilab

главный файл-сценарий для запуска Scilab’а и различных инструментов

Синтаксис

Аргументы

Эта опция позволяет переслать данные в сессию Scilab’а:

  • Последовательность данных, разделённых одним или несколькими пробелами.
  • Выражение между двойными кавычками является единым куском данных.
  • Чтобы внести двойные кавычки в данные, запишите \» вместо » .
  • Одинарная кавычка ‘ является обычным символом. У неё нет специального значения.

Внутри открытой сессии эти данные могут быть получены виде раздельных строк с помощью sciargs().

Только для использования в системах Xwindow для установки специфичного дисплея X-сервера. Дисплей по умолчанию — unix:0.0.

-display можно сократить как -d .

По окончании запуска всей сессии, этот вариант

устанавливает текущий рабочий каталог в каталог оболочки, из которой Scilab был запущен. Пожалуйста, смотрите пример, приведенный здесь ниже для опции -f . Затем,

эта опция выполняет инструкции Scilab Instructions , указанные в строке. Пример :

Если эта опцпия используется, то в начале сессии Scilab, после исполнения файлов запуска Sciblab и пользовательских файлов запуска, и после установки пользовательских настроек, включая настройки рабочей директории,

текущая рабочая директория Scilab устаровлена в каталоге оболочки, из которой Scilab был запущен. Например,

Scilab-сценарий file выполнен. Если относительный путь используется (по умолчанию .\ или как ..\ в примере выше), то он отсылается в новую рабочую директорию Scilab.

Файл с расширением .xcos будет открыт в Xcos.

Эта опция заставляет Scilab всегда выходить после инструкций, переданных вместе с опцией -e , или сценарий, на который ссылается оция -f , будет исполнен, даже в случае ошибки времени исполнения. Эта опция всегда должна использоваться в режиме пакетной обработки. Она игнорируется, если нет ни опции -e ни опции -f .

Если есть эта опция, то она фиксирует язык пользователя. lang может быть: ca_ES de_DE en_US es_ES fr_FR ja_JP pt_BR ru_RU zh_CN zh_TW (начиная с Scilab 5.2).

Другими возможными значениями lang (для совместимости) являются ‘fr’ для французского и ‘en’ для английского языка. По умолчанию язык английский. Это значение по умолчанию зафиксировано в файле scilab.start .

В некоторых системах для правильного отображения шрифтов в кодировке UTF-8 локали должны быть откомпилированы.

Scilab также может быть запущен следующим образом:

«no banner» : Если есть эта опция, то сообщение о загрузке Scilab’а не будет отображаться.

«No Startup files» : Если есть эта опция, то файл запуска SCI/etc/scilab.start и пользовательские файлы запуска SCIHOME/.scilab и SCIHOME/scilab.ini не исполняются.

Эта опция отключит многие возможности Scilab’а (используйте, если вы знаете что делаете).

Если есть эта опция, то пользовательские файлы запуска SCIHOME/.scilab и SCIHOME/scilab.ini не исполняются.

Если есть эта опция, то ранее установленные модули ATOMS не загружаются для данной сессии.

Если есть эта опция,то Scilab запускается как командная строка с улучшенными возможностями (графические окна, экспорт, xcos, scinotes, справочная система, . ).

Начиная с Scilab 5.2:

конвейеры доступны во всех операционных системах (см. примеры для дополнительной информации).

Дистрибутив Scilab также предоставляет специальный бинарный файл, который делает то же, что и -nw : scilab-adv-cli (Интерпретатор Scilab с улучшенной командной строкой).

-nwni / -nogui

Начиная с Scilab 5.2:

конвейеры доступны во всех операционных системах (см. примеры для дополнительной информации).

Дистрибутив Scilab также предоставляет специальный бинарный файл, который делает то же, что и -nwni : scilab-cli (Интерпретатор Scilab с улучшенной командной строкой).

Эта опция предназначена для TeXMacs.

Пожалуйста, установите ATOMS-модуль TeXMacs: atomsInstall ( ‘ texmacs ‘ )

Эта опция выводит на экран версию продукта.

Дополнительные опции для Unix/Linux и Mac OS X

Совет: используйте эти параметры в дереве исходников Scilab’а.

Запуск Scilab’а в отладчике gdb.

Определите переменную SCILAB_GDB_OPT для добавления пользовательских настроек в gdb.

Запуск Scilab’а в kdbg.

Запуск Scilab’а в valgrind.

Определите переменную SCILAB_VALGRIND_OPT для добавления пользовательских настроек в valgrind (и отмены существующих опций valgrind).

Запуск Scilab’а в callgrind.

Определите переменную SCILAB_VALGRIND_OPT для добавления пользовательских настроек в callgrind (и отмены существующих опций callgrind).

Запуск Scilab’а в Electric Fence.

Описание переменных окружения

Если есть эта переменная, то файл-сценарий начального запуска Scilab’а покажет отладочную информацию начального запуска. Используется главным образом для сообщения об ошибках и отладки.

Определяет какую Java использовать. Например, JAVA_HOME=/usr/lib/jvm/java-7-openjdk/ scilab запустить Scilab с Java 7.

Отключение возможностей Tk (не не Tcl).

Включить Java Headless VM (т. е. без возможностей графического пользовательского интерфейса).

Опции виртуальной машины Java

Начиная с Scilab 5.0, графический пользовательский интерфейс (GUI) и встроенная документация основаны на возможностях Java. В некоторых случаях может оказаться важным править опции JVM (Виртуальная Машина Java).

Эти опции доступны в файле jvm_options.xml.

В версиях 5.0.X и 5.1.X этот файл хранится как SCI/modules/jvm/etc/jvm_options.xml.

В версии >= 5.2.0 этот файл доступен в etc/jvm_options.xml .

По умолчанию в конфигурационном файле легко доступны следующие три опции:

Эта опция устанавливает количество памяти, доступной для виртуальной Java-машины. По умолчанию выделено 256 МБ. Если вы меняете это значение, убедитесь, что оно не превышает память системы.

Начиная с Scilab 5.4.0, это значение можно менять в меню настроек.

Эта опция с аргументом JIT задействует оперативный Java-компилятор (JIT). Он включается по умолчанию. NONE отключает оперативный Java-компилятор и чрезвычайно уменьшает производительность.

Эти опции задействуют больше проверок и выход из вызовов интерфейса для прямого доступа из Java. Эти опции полезны в случае отладки и по умолчанию отключены, поскольку они уменьшают производительность.

Читайте также:  Philips приложение для windows
Оцените статью