Aptana 3.6.0 jre Error in Windows os - aptana

i used Aptana 3.4.2 and its run well.
when i download 3.6.0(Current version) and install it i get this Error:
---------------------------
Aptana Studio 3
---------------------------
Java was started but returned exit code=13
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Xms128m
-Xmx512m
-Xverify:none
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Djava.awt.headless=true
-XX:MaxPermSize=256m
-jar C:\Program Files (x86)\AptanaStudio\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher C:\Program Files (x86)\Aptana Studio\AptanaStudio3.exe
-name Aptana Studio 3
--launcher.library C:\Program Files (x86)\AptanaStudio\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212\eclipse_1503.dll
-startup C:\Program Files (x86)\Aptana Studio\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.overrideVmargs
-exitdata 2f90_7c
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Xms128m
-Xmx512m
-Xverify:none
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Djava.awt.headless=true
-XX:MaxPermSize=256m
-jar C:\Program Files (x86)\Aptana Studio\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
and ini file is(AptanaStudio3.ini):
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-name
Aptana Studio 3
-vmargs
-Xms128m
-Xmx512m
-Xverify:none
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Djava.awt.headless=true
my jre path is:
C:\Program Files\Java\jre1.8.0_20
i add this line
-vm C:\Program Files\Java\jre1.8.0_20\bin\javaw.exe
into AptanaStudio3.ini
but not fix!

Install the 32-bit java as well and that should clear your issue. Although its x64 compatible it does not like to find the x64 Java. Even if you link it to your correct java you get the ini error. Weird but it works.

Prefix the system PATH variable in the studio3.bat file with the JRE 32bit path and launch the program using the batch file.
set PATH=%PRGF86%\Java\jre1.8.0_25;%PRGF86%\Java\jre1.8.0_25\bin;%PATH%;
That way you won't interfere with your other 64 applications.
To pin the batch file to the taskbar, create a short cut for the file and add cmd.exe /C at the beginning of its target properties.

I was facing same issue: You should install jdk 1.8. Then look for the aptanaStudio3.ini file (C:\Users\yourName\AppData\Roaming\Appcelerator\Aptana Studio), open the file (text-editor) and insert these two lines:
-vm
C:\Program Files (x86)\Java\jdk1.8.0_181\bin\javaw.exe
before vmargs in the .ini file. (this is important if you place at the beginning or end, it will not work)
See my complete AptanaStudio3.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.551.v20171108-1834
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files (x86)\Java\jdk1.8.0_161\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Dfile.encoding=UTF-8
-Djava.awt.headless=true

Related

Qt 5.10.0 static build error

I'm trying to build Qt 5.10.0 statically from source on Windows.
I've run Visual Studio 2017 Command Prompt and executed the following command:
>configure -static -release -platform win32-msvc
But I've got an error:
cl -c -Fo./ -Fdqmake.pdb -W2 -nologo -O1 /MP /wd4577 -IC:\qtbase-5.10\qtbase-5.10\qmake -IC:\qtbase-5.10\qtbase-5.10\qmake\library -IC:\qtbase-5.10\qtbase-5.10\qmake\generators -IC:\qtbase-5.10\qtbase-5.10\qmake\generators\unix -IC:\qtbase-5.10\qtbase-5.10\qmake\generators\win32 -IC:\qtbase-5.10\qtbase-5.10\qmake\generators\mac -IC:\qtbase-5.10\qtbase-5.10/include -IC:\qtbase-5.10\qtbase-5.10/include\QtCore -IC:\qtbase-5.10\qtbase-5.10/include\QtCore\5.10.1 -IC:\qtbase-5.10\qtbase-5.10/include\QtCore\5.10.1\QtCore -I..\src\corelib\global -IC:\qtbase-5.10\qtbase-5.10\mkspecs\win32-msvc -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -DQT_VERSION_STR=\"5.10.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=10 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH -DUNICODE -c -Yc -Fpqmake_pch.pch -TP C:\qtbase-5.10\qtbase-5.10\qmake\qmake_pch.h
qmake_pch.h
..\src\corelib\global\qglobal.h(63): fatal error C1083: cannot open include file: QtCore/qconfig-bootstrapped.h: No such file or directory
NMAKE : fatal error U1077: "d:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\cl.EXE" : return code "0x2"
Stop.
What can I do with this?
You should run configure from Visual Studio Developer Command Prompt.
You can also open regular command prompt and run following commands before configure
CALL "<path inside to your Visual Studio installation>\vcvarsall.bat" x86
SET PATH=<path to Qt sources>\qtbase\bin;%PATH%
SET PATH=<path to Qt sources>\gnuwin32\bin;%PATH%
Use amd64 instead of x86 for 64 bit Qt build as vcvarsall parameter.
Make sure you have perl and python in your path.

GitLab CE - How to load a .net (core) build environment on the runner?

I'm using GitLab CE as our source control system. It's on prem but updated to the latest version.
I have a Runner configured to build .net projects.
I have a dotNet Core Project that I want to build. The problem i'm having is loading the .net Build environments. I'm trying to run this to establish the environment:
`- 'cmd /K "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsMSBuildCmd.bat"'
This executes correct to the point that I get this output:
$ cmd /K "C:\Program Files ^(x86^)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsMSBuildCmd.bat"
**********************************************************************
** Visual Studio 2017 MSBuild Command Prompt
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\GitLab-Runner\builds\352e1762\0\online\WebApp>$ nuget restore src/Online-WebApp.sln
MSBuild auto-detection: using msbuild version '15.5.179.9764' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin'.
...rest removed...
The problem is when it gets the job step in the Yml, the msbuild command is reported as not recognized.
Here's the full YAML.
Note that manually setting the PATH worked to find msbuild....
variables:
DATABASE_URL: "example=not-real" #just to show this is an option; https://docs.gitlab.com/ce/ci/variables/README.html
stages:
- build
before_script:
#- 'PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin'
#- 'cmd /K "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat"'
#- 'cmd /K "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\LaunchDevCmd.bat"'
- 'cmd /K "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsMSBuildCmd.bat"'
- 'nuget restore src/Online-WebApp.sln'
# What is important, is that each job is run independently from each other. "build" is a job.
build:
stage: build
script:
- 'msbuild src/Online-WebApp.sln /t:Clean,ReBuild /p:Configuration=Release;Platform="Any CPU"'
- 'dotnet pack src/Online-WebApp/Online-WebApp.csproj -c Release -v d --output nupkgs --no-build'
only:
- master

Why is CMake ending prematurely in Qt Creator?

I'm new to Qt Creator and wanted to import an existing CMake project into it. I loaded the CMakeLists.txt file as a project, and after running CMake, it found my files like I hoped.
But when it builds, it seems to end prematurely after one second. Here is the log:
17:11:46: Running steps for project My-GUI...
17:11:46: Starting: "C:\Program Files\JetBrains\CLion 2017.1.3\bin\cmake\bin\cmake.exe" --build . --target clean
17:11:46: Starting: "C:\Program Files\JetBrains\CLion 2017.1.3\bin\cmake\bin\cmake.exe" --build . --target spectrumSaver
"C:\Program Files\JetBrains\CLion 2017.1.3\bin\cmake\bin\cmake.exe" -HC:\Users\user\WorkingFiles\Excellims\My-GUI -BC:\Users\user\WorkingFiles\Excellims\build-My-GUI-Desktop_Qt_5_9_0_MSVC2015_64bit-Default --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f CMakeFiles\Makefile2 /nologo -L spectrumSaver
"C:\Program Files\JetBrains\CLion 2017.1.3\bin\cmake\bin\cmake.exe" -HC:\Users\user\WorkingFiles\Excellims\My-GUI -BC:\Users\user\WorkingFiles\Excellims\build-My-GUI-Desktop_Qt_5_9_0_MSVC2015_64bit-Default --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files\JetBrains\CLion 2017.1.3\bin\cmake\bin\cmake.exe" -E cmake_progress_start C:\Users\user\WorkingFiles\Excellims\build-My-GUI-Desktop_Qt_5_9_0_MSVC2015_64bit-Default\CMakeFiles 7
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f CMakeFiles\Makefile2 /nologo -L CMakeFiles\spectrumSaver.dir\all
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f shared\CMakeFiles\shared.dir\build.make /nologo -L shared\CMakeFiles\shared.dir\depend
"C:\Program Files\JetBrains\CLion 2017.1.3\bin\cmake\bin\cmake.exe" -E cmake_depends "NMake Makefiles" C:\Users\user\WorkingFiles\Excellims\My-GUI C:\Users\user\WorkingFiles\My-GUI\src\shared C:\Users\user\WorkingFiles\My-GUI\build-My-GUI-Desktop_Qt_5_9_0_MSVC2015_64bit-Default C:\Users\user\WorkingFiles\My-GUI\build-My-GUI-Desktop_Qt_5_9_0_MSVC2015_64bit-Default\shared C:\Users\user\WorkingFiles\Excellims\build-My-GUI-Desktop_Qt_5_9_0_MSVC2015_64bit-Default\shared\CMakeFiles\shared.dir\DependInfo.cmake --color=
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f shared\CMakeFiles\shared.dir\build.make /nologo -L shared\CMakeFiles\shared.dir\build
[ 28%] Built target shared
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f CMakeFiles\spectrumSaver.dir\build.make /nologo -L CMakeFiles\spectrumSaver.dir\depend
17:11:47: Elapsed time: 00:01.
You can see that CMake reports the build is 28% complete, just before ending.
I can't find any information on this and all my fiddling has yet to fix it. I'm using CMake 3.7.2 (that comes with CLion), but I have also used CMake 3.8.2 (independently installed). This is on Windows 7, with Qt Creator 4.3.0 using the Microsoft Visual C++ 2015 compiler.
It's not clear what was causing it to stop building prematurely, but after I restarted Qt Creator, the problem went away. It now builds completely.

windows command prompt not opening some files

My command prompt is not working for some .exe files. I DO have the file in my path, I even can try opening the file directly and it does nothing. If I click on troubleshoot compatibility, it says incompatible application detected, but if I switch to other options, nothing works. I can open up other programs fine. I can open up Rgui and its fine, Rcmd works fine too. R.exe does nothing which prevents me from running certain things I need. I have tried other old versions of R too and nothing works.
operating system: Windows 7 64 bit (all updates installed)
program: RRO, R
C:\Windows\SysWOW64>which R
/c/Program Files/RRO/R-3.2.2/bin/x64/R
C:\Windows\SysWOW64>R
C:\Windows\SysWOW64>
C:\Windows\SysWOW64>R.exe
C:\Windows\SysWOW64>
C:\Windows\SysWOW64>cd C:\Program Files\RRO\R-3.2.2\bin\x64
C:\Program Files\RRO\R-3.2.2\bin\x64>R.exe
C:\Program Files\RRO\R-3.2.2\bin\x64>
C:\Program Files\RRO\R-3.2.2\bin\x64>python
Python 2.7.8 |Anaconda 2.1.0 (64-bit)| (default, Jul 2 2014, 15:12:11) [MSC v.1
500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>>
C:\Program Files\RRO\R-3.2.2\bin\x64>echo %path%
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Wind
owsPowerShell\v1.0\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\WIDCOMM
\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Pro
gram Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Mic
rosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tool
s\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x8
6)\MATLAB\R2013b\bin;C:\Program Files\MATLAB\R2013b\runtime\win64;C:\Program Fil
es\MATLAB\R2013b\bin;C:\Program Files\RRO\R-3.2.2\bin\x64;C:\Program Files (x86)
\Riverbed\Steelhead Mobile\;C:\Program Files (x86)\Microsoft SQL Server\100\Tool
s\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\C
ommon7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DT
S\Binn\;C:\Program Files\TortoiseHg\;C:\Program Files\Microsoft SQL Server\110\T
ools\Binn\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\QuickTime\QTSys
tem\;C:\Anaconda;C:\Anaconda\Scripts;C:\TDM-GCC-64\bin;C:\tomlab\shared;C:\Progr
am Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Windows K
its\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeS
cript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Bin\;C:\cygwin64\bin;
C:\Program Files (x86)\CMake\bin;C:\cygwin64\sbin;C:\opencv\build\x64\vc12\bin;C
:\Program Files (x86)\Skype\Phone\;c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;;%CREAT
OOLS_DIRS%;C:\Program Files (x86)\CreaTools\crea_TPdlls-3.2.0\bin
try "C:\Program Files\RRO\R-3.2.2\bin\x64\Rgui.exe"

sqlite3: No such file or directory

I downloaded the ADT Bundle and now cannot run sqlite from the tools directory.
red-planet#desktop:~/Adt-bundle/sdk/tools$ ls
adb_has_moved.txt ddms emulator64-mips etc1tool lint proguard templates
android dmtracedump emulator64-x86 hierarchyviewer mksdcard source.properties traceview
ant draw9patch emulator-arm hprof-conv monitor sqlite3 uiautomatorviewer
apkbuilder emulator emulator-mips jobb monkeyrunner support zipalign
apps emulator64-arm emulator-x86 lib NOTICE.txt systrace
red-planet#desktop:~/Adt-bundle/sdk/tools$ sqlite3
bash: /home/red-planet/Adt-bundle/sdk/tools/sqlite3: No such file or directory
red-planet#desktop:~/Adt-bundle/sdk/tools$
The solution.
I found the solution. I am working on 64-bit Ubuntu and had to make 64-bit applications work on the 64-bit operating system.
sudo apt-get install ia32-libs
https://help.ubuntu.com/community/32bit_and_64bit
add ./ before executable files in linux.
try this
./sqlite3

Resources